test_class.declarator: vmGenerator
test_class.modifier: private
test_class.original_string: private VirtualMachineGenerator vmGenerator;
test_class.type: VirtualMachineGenerator
test_class.var_name: vmGenerator
test_class.declarator: virtualImageGenerator
test_class.modifier: private
test_class.original_string: private VirtualMachineTemplateGenerator virtualImageGenerator;
test_class.type: VirtualMachineTemplateGenerator
test_class.var_name: virtualImageGenerator
test_class.file: model/src/test/java/com/abiquo/server/core/infrastructure/storage/VolumeManagementTest.java
test_class.identifier: VolumeManagementTest
test_class.superclass: extends DefaultEntityTestBase<VolumeManagement>
test_case.body: @Test(expectedExceptions = IllegalStateException.class)
      public void testInvalidAssociateWithNullVM()
      {
          VolumeManagement volume = createUniqueEntity();
          volume.attach(FIRST_ATTACHMENT_SEQUENCE, null);
      }
test_case.class_method_signature: VolumeManagementTest.testInvalidAssociateWithNullVM()
test_case.full_signature: @Test(expectedExceptions = IllegalStateException.class) public void testInvalidAssociateWithNullVM()
test_case.identifier: testInvalidAssociateWithNullVM
test_case.invocations: createUniqueEntity attach
test_case.modifiers: @Test(expectedExceptions = IllegalStateException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testInvalidAssociateWithNullVM()
focal_class.declarator: DISCRIMINATOR = "8"
focal_class.modifier: public static final
focal_class.original_string: public static final String DISCRIMINATOR = "8";
focal_class.type: String
focal_class.var_name: DISCRIMINATOR
focal_class.declarator: ALLOCATION_UNITS = "MegaBytes"
focal_class.modifier: public static final
focal_class.original_string: public static final String ALLOCATION_UNITS = "MegaBytes";
focal_class.type: String
focal_class.var_name: ALLOCATION_UNITS
focal_class.declarator: TABLE_NAME = "volume_management"
focal_class.modifier: public static final
focal_class.original_string: public static final String TABLE_NAME = "volume_management";
focal_class.type: String
focal_class.var_name: TABLE_NAME
focal_class.declarator: VOLUMES_BY_VDC = "VOLUMES_BY_VDC"
focal_class.modifier: public static final
focal_class.original_string: public static final String VOLUMES_BY_VDC = "VOLUMES_BY_VDC";
focal_class.type: String
focal_class.var_name: VOLUMES_BY_VDC
focal_class.declarator: VOLUMES_BY_POOL = "VOLUMES_BY_POOL"
focal_class.modifier: public static final
focal_class.original_string: public static final String VOLUMES_BY_POOL = "VOLUMES_BY_POOL";
focal_class.type: String
focal_class.var_name: VOLUMES_BY_POOL
focal_class.declarator: VOLUMES_ATTACHED_TO_VM = "VOLUMES_ATTACHED_TO_VM"
focal_class.modifier: public static final
focal_class.original_string: public static final String VOLUMES_ATTACHED_TO_VM = "VOLUMES_ATTACHED_TO_VM";
focal_class.type: String
focal_class.var_name: VOLUMES_ATTACHED_TO_VM
focal_class.declarator: VOLUMES_AVAILABLES = "VOLUMES_AVAILABLES"
focal_class.modifier: public static final
focal_class.original_string: public static final String VOLUMES_AVAILABLES = "VOLUMES_AVAILABLES";
focal_class.type: String
focal_class.var_name: VOLUMES_AVAILABLES
focal_class.declarator: NOT_TEMP = "volumemanagement_not_temp"
focal_class.modifier: public static final
focal_class.original_string: public static final String NOT_TEMP = "volumemanagement_not_temp";
focal_class.type: String
focal_class.var_name: NOT_TEMP
focal_class.declarator: ONLY_TEMP = "volumemanagement_only_temp"
focal_class.modifier: public static final
focal_class.original_string: public static final String ONLY_TEMP = "volumemanagement_only_temp";
focal_class.type: String
focal_class.var_name: ONLY_TEMP
focal_class.declarator: BY_VDC =
          "SELECT vol FROM VolumeManagement vol LEFT JOIN vol.virtualMachine vm "
              + "LEFT JOIN vol.virtualAppliance vapp WHERE vol.virtualDatacenter.id = :vdcId "
              + "AND (vol.rasd.elementName like :filterLike OR vm.name like :filterLike "
              + "OR vapp.name like :filterLike OR vol.virtualDatacenter.name like :filterLike "
              + "OR vol.storagePool.tier.name like :filterLike )"
focal_class.modifier: public static final
focal_class.original_string: public static final String BY_VDC =
          "SELECT vol FROM VolumeManagement vol LEFT JOIN vol.virtualMachine vm "
              + "LEFT JOIN vol.virtualAppliance vapp WHERE vol.virtualDatacenter.id = :vdcId "
              + "AND (vol.rasd.elementName like :filterLike OR vm.name like :filterLike "
              + "OR vapp.name like :filterLike OR vol.virtualDatacenter.name like :filterLike "
              + "OR vol.storagePool.tier.name like :filterLike )";
focal_class.type: String
focal_class.var_name: BY_VDC
focal_class.declarator: BY_POOL =
          "SELECT vol FROM VolumeManagement vol LEFT JOIN vol.virtualMachine vm "
              + "LEFT JOIN vol.virtualAppliance vapp WHERE vol.storagePool.idStorage = :poolId "
              + "AND (vol.rasd.elementName like :filterLike "
              + "OR vol.rasd.id like :filterLike OR vm.name like :filterLike "
              + "OR vapp.name like :filterLike OR vol.virtualDatacenter.name like :filterLike "
              + "OR vol.storagePool.tier.name like :filterLike )"
focal_class.modifier: public static final
focal_class.original_string: public static final String BY_POOL =
          "SELECT vol FROM VolumeManagement vol LEFT JOIN vol.virtualMachine vm "
              + "LEFT JOIN vol.virtualAppliance vapp WHERE vol.storagePool.idStorage = :poolId "
              + "AND (vol.rasd.elementName like :filterLike "
              + "OR vol.rasd.id like :filterLike OR vm.name like :filterLike "
              + "OR vapp.name like :filterLike OR vol.virtualDatacenter.name like :filterLike "
              + "OR vol.storagePool.tier.name like :filterLike )";
focal_class.type: String
focal_class.var_name: BY_POOL
focal_class.declarator: ATTACHED_TO_VM =
          "SELECT vol FROM VolumeManagement vol LEFT JOIN vol.virtualMachine vm "
              + "LEFT JOIN vol.virtualAppliance vapp "
              + "WHERE vm.id = :vmId AND vol.state = :state "
              + "AND (vol.rasd.elementName like :filterLike " + "OR vm.name like :filterLike "
              + "OR vapp.name like :filterLike " + "OR vol.virtualDatacenter.name like :filterLike "
              + "OR vol.storagePool.tier.name like :filterLike)"
              + " AND vol.virtualMachineTemplate IS NULL"
focal_class.modifier: public static final
focal_class.original_string: public static final String ATTACHED_TO_VM =
          "SELECT vol FROM VolumeManagement vol LEFT JOIN vol.virtualMachine vm "
              + "LEFT JOIN vol.virtualAppliance vapp "
              + "WHERE vm.id = :vmId AND vol.state = :state "
              + "AND (vol.rasd.elementName like :filterLike " + "OR vm.name like :filterLike "
              + "OR vapp.name like :filterLike " + "OR vol.virtualDatacenter.name like :filterLike "
              + "OR vol.storagePool.tier.name like :filterLike)"
              + " AND vol.virtualMachineTemplate IS NULL";
focal_class.type: String
focal_class.var_name: ATTACHED_TO_VM
focal_class.declarator: AVAILABLES =
          "SELECT vol FROM VolumeManagement vol LEFT JOIN vol.virtualMachine vm "
              + "WHERE vol.virtualDatacenter.id = :vdcId AND vm IS NULL "
              + "AND vol.virtualMachineTemplate IS NULL AND vol.rasd.elementName like :filterLike "
              + "AND vol NOT IN (SELECT stateful.volume FROM DiskStatefulConversion stateful)"
focal_class.modifier: public static final
focal_class.original_string: public static final String AVAILABLES =
          "SELECT vol FROM VolumeManagement vol LEFT JOIN vol.virtualMachine vm "
              + "WHERE vol.virtualDatacenter.id = :vdcId AND vm IS NULL "
              + "AND vol.virtualMachineTemplate IS NULL AND vol.rasd.elementName like :filterLike "
              + "AND vol NOT IN (SELECT stateful.volume FROM DiskStatefulConversion stateful)";
focal_class.type: String
focal_class.var_name: AVAILABLES
focal_class.declarator: BY_VAPP =
          "SELECT vol FROM VolumeManagement vol LEFT JOIN vol.virtualMachine vm "
              + "LEFT JOIN vol.virtualAppliance vapp WHERE vapp.id = :vappId"
focal_class.modifier: public static final
focal_class.original_string: public static final String BY_VAPP =
          "SELECT vol FROM VolumeManagement vol LEFT JOIN vol.virtualMachine vm "
              + "LEFT JOIN vol.virtualAppliance vapp WHERE vapp.id = :vappId";
focal_class.type: String
focal_class.var_name: BY_VAPP
focal_class.declarator: STORAGE_POOL_PROPERTY = "storagePool"
focal_class.modifier: public final static
focal_class.original_string: public final static String STORAGE_POOL_PROPERTY = "storagePool";
focal_class.type: String
focal_class.var_name: STORAGE_POOL_PROPERTY
focal_class.declarator: STORAGE_POOL_REQUIRED = true
focal_class.modifier: private final static
focal_class.original_string: private final static boolean STORAGE_POOL_REQUIRED = true;
focal_class.type: boolean
focal_class.var_name: STORAGE_POOL_REQUIRED
focal_class.declarator: STORAGE_POOL_ID_COLUMN = "idStorage"
focal_class.modifier: private final static
focal_class.original_string: private final static String STORAGE_POOL_ID_COLUMN = "idStorage";
focal_class.type: String
focal_class.var_name: STORAGE_POOL_ID_COLUMN
focal_class.declarator: storagePool
focal_class.modifier: @JoinColumn(name = STORAGE_POOL_ID_COLUMN)
      @ManyToOne(fetch = FetchType.LAZY)
      @ForeignKey(name = "FK_" + TABLE_NAME + "_storagePool")
      private
focal_class.original_string: @JoinColumn(name = STORAGE_POOL_ID_COLUMN)
      @ManyToOne(fetch = FetchType.LAZY)
      @ForeignKey(name = "FK_" + TABLE_NAME + "_storagePool")
      private StoragePool storagePool;
focal_class.type: StoragePool
focal_class.var_name: storagePool
focal_class.declarator: VIRTUAL_MACHINE_TEMPLATE_PROPERTY = "virtualMachineTemplate"
focal_class.modifier: public final static
focal_class.original_string: public final static String VIRTUAL_MACHINE_TEMPLATE_PROPERTY = "virtualMachineTemplate";
focal_class.type: String
focal_class.var_name: VIRTUAL_MACHINE_TEMPLATE_PROPERTY
focal_class.declarator: VIRTUAL_MACHINE_TEMPLATE_REQUIRED = false
focal_class.modifier: private final static
focal_class.original_string: private final static boolean VIRTUAL_MACHINE_TEMPLATE_REQUIRED = false;
focal_class.type: boolean
focal_class.var_name: VIRTUAL_MACHINE_TEMPLATE_REQUIRED
focal_class.declarator: VIRTUAL_MACHINE_TEMPLATE_ID_COLUMN = "idImage"
focal_class.modifier: private final static
focal_class.original_string: private final static String VIRTUAL_MACHINE_TEMPLATE_ID_COLUMN = "idImage";
focal_class.type: String
focal_class.var_name: VIRTUAL_MACHINE_TEMPLATE_ID_COLUMN
focal_class.declarator: virtualMachineTemplate
focal_class.modifier: @JoinColumn(name = VIRTUAL_MACHINE_TEMPLATE_ID_COLUMN)
      @OneToOne(cascade = CascadeType.ALL, fetch = FetchType.LAZY)
      @ForeignKey(name = "FK_" + TABLE_NAME + "_virtualImage")
      private
focal_class.original_string: @JoinColumn(name = VIRTUAL_MACHINE_TEMPLATE_ID_COLUMN)
      @OneToOne(cascade = CascadeType.ALL, fetch = FetchType.LAZY)
      @ForeignKey(name = "FK_" + TABLE_NAME + "_virtualImage")
      private VirtualMachineTemplate virtualMachineTemplate;
focal_class.type: VirtualMachineTemplate
focal_class.var_name: virtualMachineTemplate
focal_class.declarator: ID_SCSI_PROPERTY = "idScsi"
focal_class.modifier: public final static
focal_class.original_string: public final static String ID_SCSI_PROPERTY = "idScsi";
focal_class.type: String
focal_class.var_name: ID_SCSI_PROPERTY
focal_class.declarator: ID_SCSI_REQUIRED = false
focal_class.modifier: private final static
focal_class.original_string: private final static boolean ID_SCSI_REQUIRED = false;
focal_class.type: boolean
focal_class.var_name: ID_SCSI_REQUIRED
focal_class.declarator: ID_SCSI_LENGTH_MIN = 0
focal_class.modifier: public final static
focal_class.original_string: public final static int ID_SCSI_LENGTH_MIN = 0;
focal_class.type: int
focal_class.var_name: ID_SCSI_LENGTH_MIN
focal_class.declarator: ID_SCSI_LENGTH_MAX = 255
focal_class.modifier: public final static
focal_class.original_string: public final static int ID_SCSI_LENGTH_MAX = 255;
focal_class.type: int
focal_class.var_name: ID_SCSI_LENGTH_MAX
focal_class.declarator: ID_SCSI_LEADING_OR_TRAILING_WHITESPACES_ALLOWED = false
focal_class.modifier: private final static
focal_class.original_string: private final static boolean ID_SCSI_LEADING_OR_TRAILING_WHITESPACES_ALLOWED = false;
focal_class.type: boolean
focal_class.var_name: ID_SCSI_LEADING_OR_TRAILING_WHITESPACES_ALLOWED
focal_class.declarator: ID_SCSI_COLUMN = "idSCSI"
focal_class.modifier: private final static
focal_class.original_string: private final static String ID_SCSI_COLUMN = "idSCSI";
focal_class.type: String
focal_class.var_name: ID_SCSI_COLUMN
focal_class.declarator: idScsi
focal_class.modifier: @Column(name = ID_SCSI_COLUMN, nullable = !ID_SCSI_REQUIRED, length = ID_SCSI_LENGTH_MAX)
      private
focal_class.original_string: @Column(name = ID_SCSI_COLUMN, nullable = !ID_SCSI_REQUIRED, length = ID_SCSI_LENGTH_MAX)
      private String idScsi;
focal_class.type: String
focal_class.var_name: idScsi
focal_class.declarator: STATE_PROPERTY = "state"
focal_class.modifier: public final static
focal_class.original_string: public final static String STATE_PROPERTY = "state";
focal_class.type: String
focal_class.var_name: STATE_PROPERTY
focal_class.declarator: STATE_COLUMN = "state"
focal_class.modifier: private final static
focal_class.original_string: private final static String STATE_COLUMN = "state";
focal_class.type: String
focal_class.var_name: STATE_COLUMN
focal_class.declarator: state
focal_class.modifier: @Enumerated(value = javax.persistence.EnumType.ORDINAL)
      @Column(name = STATE_COLUMN, nullable = true)
      private
focal_class.original_string: @Enumerated(value = javax.persistence.EnumType.ORDINAL)
      @Column(name = STATE_COLUMN, nullable = true)
      private VolumeState state;
focal_class.type: VolumeState
focal_class.var_name: state
focal_class.declarator: USED_SIZE_PROPERTY = "usedSizeInMB"
focal_class.modifier: public final static
focal_class.original_string: public final static String USED_SIZE_PROPERTY = "usedSizeInMB";
focal_class.type: String
focal_class.var_name: USED_SIZE_PROPERTY
focal_class.declarator: USED_SIZE_COLUMN = "usedSize"
focal_class.modifier: private final static
focal_class.original_string: private final static String USED_SIZE_COLUMN = "usedSize";
focal_class.type: String
focal_class.var_name: USED_SIZE_COLUMN
focal_class.declarator: USED_SIZE_MIN = Long.MIN_VALUE
focal_class.modifier: private final static
focal_class.original_string: private final static long USED_SIZE_MIN = Long.MIN_VALUE;
focal_class.type: long
focal_class.var_name: USED_SIZE_MIN
focal_class.declarator: USED_SIZE_MAX = Long.MAX_VALUE
focal_class.modifier: private final static
focal_class.original_string: private final static long USED_SIZE_MAX = Long.MAX_VALUE;
focal_class.type: long
focal_class.var_name: USED_SIZE_MAX
focal_class.declarator: usedSizeInMB
focal_class.modifier: @Column(name = USED_SIZE_COLUMN, nullable = true)
      @Range(min = USED_SIZE_MIN, max = USED_SIZE_MAX)
      private
focal_class.original_string: @Column(name = USED_SIZE_COLUMN, nullable = true)
      @Range(min = USED_SIZE_MIN, max = USED_SIZE_MAX)
      private long usedSizeInMB;
focal_class.type: long
focal_class.var_name: usedSizeInMB
focal_class.file: model/src/main/java/com/abiquo/server/core/infrastructure/storage/VolumeManagement.java
focal_class.identifier: VolumeManagement
focal_class.class_method_signature: VolumeManagement.VolumeManagement()
focal_class.full_signature: public  VolumeManagement()
focal_class.identifier: VolumeManagement
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  VolumeManagement()
focal_class.class_method_signature: VolumeManagement.VolumeManagement(final String uuid, final String name, final long sizeInMB,
          final String idScsi, final StoragePool pool, final VirtualDatacenter virtualDatacenter)
focal_class.full_signature: public  VolumeManagement(final String uuid, final String name, final long sizeInMB,
          final String idScsi, final StoragePool pool, final VirtualDatacenter virtualDatacenter)
focal_class.identifier: VolumeManagement
focal_class.modifiers: public
focal_class.parameters: (final String uuid, final String name, final long sizeInMB,
          final String idScsi, final StoragePool pool, final VirtualDatacenter virtualDatacenter)
focal_class.signature:  VolumeManagement(final String uuid, final String name, final long sizeInMB,
          final String idScsi, final StoragePool pool, final VirtualDatacenter virtualDatacenter)
focal_class.class_method_signature: VolumeManagement.getStoragePool()
focal_class.full_signature: @Required(value = STORAGE_POOL_REQUIRED) public StoragePool getStoragePool()
focal_class.identifier: getStoragePool
focal_class.modifiers: @Required(value = STORAGE_POOL_REQUIRED) public
focal_class.parameters: ()
focal_class.return: StoragePool
focal_class.signature: StoragePool getStoragePool()
focal_class.class_method_signature: VolumeManagement.setStoragePool(final StoragePool storagePool)
focal_class.full_signature: public void setStoragePool(final StoragePool storagePool)
focal_class.identifier: setStoragePool
focal_class.modifiers: public
focal_class.parameters: (final StoragePool storagePool)
focal_class.return: void
focal_class.signature: void setStoragePool(final StoragePool storagePool)
focal_class.class_method_signature: VolumeManagement.getVirtualMachineTemplate()
focal_class.full_signature: @Required(value = VIRTUAL_MACHINE_TEMPLATE_REQUIRED) public VirtualMachineTemplate getVirtualMachineTemplate()
focal_class.identifier: getVirtualMachineTemplate
focal_class.modifiers: @Required(value = VIRTUAL_MACHINE_TEMPLATE_REQUIRED) public
focal_class.parameters: ()
focal_class.return: VirtualMachineTemplate
focal_class.signature: VirtualMachineTemplate getVirtualMachineTemplate()
focal_class.class_method_signature: VolumeManagement.setVirtualMachineTemplate(final VirtualMachineTemplate virtualMachineTemplate)
focal_class.full_signature: public void setVirtualMachineTemplate(final VirtualMachineTemplate virtualMachineTemplate)
focal_class.identifier: setVirtualMachineTemplate
focal_class.modifiers: public
focal_class.parameters: (final VirtualMachineTemplate virtualMachineTemplate)
focal_class.return: void
focal_class.signature: void setVirtualMachineTemplate(final VirtualMachineTemplate virtualMachineTemplate)
focal_class.class_method_signature: VolumeManagement.isStateful()
focal_class.full_signature: public boolean isStateful()
focal_class.identifier: isStateful
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isStateful()
focal_class.class_method_signature: VolumeManagement.getIdScsi()
focal_class.full_signature: @Required(value = ID_SCSI_REQUIRED) @Length(min = ID_SCSI_LENGTH_MIN, max = ID_SCSI_LENGTH_MAX) @LeadingOrTrailingWhitespace(allowed = ID_SCSI_LEADING_OR_TRAILING_WHITESPACES_ALLOWED) @IscsiPath public String getIdScsi()
focal_class.identifier: getIdScsi
focal_class.modifiers: @Required(value = ID_SCSI_REQUIRED) @Length(min = ID_SCSI_LENGTH_MIN, max = ID_SCSI_LENGTH_MAX) @LeadingOrTrailingWhitespace(allowed = ID_SCSI_LEADING_OR_TRAILING_WHITESPACES_ALLOWED) @IscsiPath public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getIdScsi()
focal_class.class_method_signature: VolumeManagement.setIdScsi(final String idScsi)
focal_class.full_signature: public void setIdScsi(final String idScsi)
focal_class.identifier: setIdScsi
focal_class.modifiers: public
focal_class.parameters: (final String idScsi)
focal_class.return: void
focal_class.signature: void setIdScsi(final String idScsi)
focal_class.class_method_signature: VolumeManagement.getState()
focal_class.full_signature: public VolumeState getState()
focal_class.identifier: getState
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: VolumeState
focal_class.signature: VolumeState getState()
focal_class.class_method_signature: VolumeManagement.setState(final VolumeState state)
focal_class.full_signature: public void setState(final VolumeState state)
focal_class.identifier: setState
focal_class.modifiers: public
focal_class.parameters: (final VolumeState state)
focal_class.return: void
focal_class.signature: void setState(final VolumeState state)
focal_class.class_method_signature: VolumeManagement.getUsedSizeInMB()
focal_class.full_signature: public long getUsedSizeInMB()
focal_class.identifier: getUsedSizeInMB
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getUsedSizeInMB()
focal_class.class_method_signature: VolumeManagement.setUsedSizeInMB(final long usedSizeInMB)
focal_class.full_signature: public void setUsedSizeInMB(final long usedSizeInMB)
focal_class.identifier: setUsedSizeInMB
focal_class.modifiers: public
focal_class.parameters: (final long usedSizeInMB)
focal_class.return: void
focal_class.signature: void setUsedSizeInMB(final long usedSizeInMB)
focal_class.class_method_signature: VolumeManagement.getUuid()
focal_class.full_signature: public String getUuid()
focal_class.identifier: getUuid
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getUuid()
focal_class.class_method_signature: VolumeManagement.getName()
focal_class.full_signature: public String getName()
focal_class.identifier: getName
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getName()
focal_class.class_method_signature: VolumeManagement.setName(final String name)
focal_class.full_signature: public void setName(final String name)
focal_class.identifier: setName
focal_class.modifiers: public
focal_class.parameters: (final String name)
focal_class.return: void
focal_class.signature: void setName(final String name)
focal_class.class_method_signature: VolumeManagement.getSizeInMB()
focal_class.full_signature: public long getSizeInMB()
focal_class.identifier: getSizeInMB
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getSizeInMB()
focal_class.class_method_signature: VolumeManagement.setSizeInMB(final long sizeInMB)
focal_class.full_signature: public void setSizeInMB(final long sizeInMB)
focal_class.identifier: setSizeInMB
focal_class.modifiers: public
focal_class.parameters: (final long sizeInMB)
focal_class.return: void
focal_class.signature: void setSizeInMB(final long sizeInMB)
focal_class.class_method_signature: VolumeManagement.getAvailableSizeInMB()
focal_class.full_signature: public long getAvailableSizeInMB()
focal_class.identifier: getAvailableSizeInMB
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getAvailableSizeInMB()
focal_class.class_method_signature: VolumeManagement.setAvailableSizeInMB(final long availableSizeInMB)
focal_class.full_signature: public void setAvailableSizeInMB(final long availableSizeInMB)
focal_class.identifier: setAvailableSizeInMB
focal_class.modifiers: public
focal_class.parameters: (final long availableSizeInMB)
focal_class.return: void
focal_class.signature: void setAvailableSizeInMB(final long availableSizeInMB)
focal_class.class_method_signature: VolumeManagement.attach(final int sequence, final VirtualMachine vm)
focal_class.full_signature: @Override public void attach(final int sequence, final VirtualMachine vm)
focal_class.identifier: attach
focal_class.modifiers: @Override public
focal_class.parameters: (final int sequence, final VirtualMachine vm)
focal_class.return: void
focal_class.signature: void attach(final int sequence, final VirtualMachine vm)
focal_class.class_method_signature: VolumeManagement.detach()
focal_class.full_signature: @Override public void detach()
focal_class.identifier: detach
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void detach()
focal_class.class_method_signature: VolumeManagement.isAttached()
focal_class.full_signature: @Override public boolean isAttached()
focal_class.identifier: isAttached
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isAttached()
focal_class.class_method_signature: VolumeManagement.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.superclass: extends RasdManagement
focal_method.body: @Override
      public void attach(final int sequence, final VirtualMachine vm)
      {
          if (state != VolumeState.DETACHED)
          {
              throw new IllegalStateException("Volume should be in " + VolumeState.DETACHED.name()
                  + " state");
          }
  
          if (vm == null)
          {
              throw new IllegalStateException("Virtual machine can not be null");
          }
  
          setSequence(sequence);
          setVirtualMachine(vm);
          setState(VolumeState.ATTACHED);
      }
focal_method.class_method_signature: VolumeManagement.attach(final int sequence, final VirtualMachine vm)
focal_method.full_signature: @Override public void attach(final int sequence, final VirtualMachine vm)
focal_method.identifier: attach
focal_method.invocations: name setSequence setVirtualMachine setState
focal_method.modifiers: @Override public
focal_method.parameters: (final int sequence, final VirtualMachine vm)
focal_method.return: void
focal_method.signature: void attach(final int sequence, final VirtualMachine vm)