Class AbstractVirtualHardware
- java.lang.Object
-
- com.zerog.ia.auto.project.ProjectObject
-
- com.zerog.ia.auto.project.vapp.hardware.AbstractVirtualHardware
-
- All Implemented Interfaces:
Referenceable,VirtualEntity,VirtualHardwareEntity
- Direct Known Subclasses:
VirtualCDDrive,VirtualCPU,VirtualHardDisk,VirtualIDEController,VirtualNetworkAdapter,VirtualRAM,VirtualSCSIController
public abstract class AbstractVirtualHardware extends ProjectObject implements VirtualHardwareEntity
Abstract Class Representing Virtual hardware.
-
-
Constructor Summary
Constructors Constructor Description AbstractVirtualHardware()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAddress()address of this hardware devicejava.lang.StringgetAddressOnParent()addressOnParent of this hardware devicejava.lang.StringgetAllocationUnit()Allocation Unit for this hardware devicebooleangetAutomaticAllocation()Whether automatic connection at power onjava.lang.StringgetConnection()connection of this hardware devicejava.lang.StringgetHostResource()intgetId()id of this hardware devicejava.lang.StringgetInfo()info of this hardware devicelonggetLimit()Maximum Limit of allocation of this hardware devicejava.lang.StringgetName()name of this hardware deviceintgetParent()Id of the parent(parent controller) of this hardware devicelonggetReservation()Minimum Reservation for of this hardware deviceVirtualHardwareResourceSubtypegetVirtualHardwareResourceSubtype()Hardware Resource SubtypeVirtualHardwareResourceTypegetVirtualHardwareResourceType()Hardware Resource TypelonggetVirtualQuantity()Quantity of this hardware devicejava.lang.StringgetWeight()Weightage of allocation w.r.t other devicesvoidsetAddress(java.lang.String Address)address of this hardware devicevoidsetAddressOnParent(java.lang.String AddressOnParent)addressOnParent of this hardware devicevoidsetAllocationUnit(java.lang.String AllocationUnit)Allocation Unit for this hardware devicevoidsetAutomaticAllocation(boolean AutomaticAllocation)Whether automatic connection at power onvoidsetConnection(java.lang.String Connection)connection of this hardware devicevoidsetHostResource(java.lang.String HostResource)voidsetId(int Id)id of this hardware devicevoidsetInfo(java.lang.String Info)info of this hardware devicevoidsetLimit(long Limit)Maximum Limit of allocation of this hardware devicevoidsetName(java.lang.String Name)name of this hardware devicevoidsetParent(int Parent)Id of the parent(parent controller) of this hardware devicevoidsetReservation(long Reservation)Minimum Reservation for of this hardware devicevoidsetVirtualHardwareResourceSubtype(VirtualHardwareResourceSubtype VirtualHardwareResourceSubtype)Hardware Resource SubtypevoidsetVirtualHardwareResourceType(VirtualHardwareResourceType VirtualHardwareResourceType)Hardware Resource TypevoidsetVirtualQuantity(long VirtualQuantity)Quantity of this hardware devicevoidsetWeight(java.lang.String Weight)Weightage of allocation w.r.t other devices-
Methods inherited from class com.zerog.ia.auto.project.ProjectObject
equals, getReferenceID, hashCode, setReferenceID
-
-
-
-
Method Detail
-
getId
public int getId()
id of this hardware device
-
setId
public void setId(int Id)
id of this hardware device
-
getName
public java.lang.String getName()
name of this hardware device
-
setName
public void setName(java.lang.String Name)
name of this hardware device
-
getInfo
public java.lang.String getInfo()
info of this hardware device
-
setInfo
public void setInfo(java.lang.String Info)
info of this hardware device
-
getConnection
public java.lang.String getConnection()
connection of this hardware device
-
setConnection
public void setConnection(java.lang.String Connection)
connection of this hardware device
-
getAddress
public java.lang.String getAddress()
address of this hardware device
-
setAddress
public void setAddress(java.lang.String Address)
address of this hardware device
-
getAddressOnParent
public java.lang.String getAddressOnParent()
addressOnParent of this hardware device
-
setAddressOnParent
public void setAddressOnParent(java.lang.String AddressOnParent)
addressOnParent of this hardware device
-
getParent
public int getParent()
Id of the parent(parent controller) of this hardware device
-
setParent
public void setParent(int Parent)
Id of the parent(parent controller) of this hardware device
-
getVirtualQuantity
public long getVirtualQuantity()
Quantity of this hardware device
-
setVirtualQuantity
public void setVirtualQuantity(long VirtualQuantity)
Quantity of this hardware device
-
getReservation
public long getReservation()
Minimum Reservation for of this hardware device
-
setReservation
public void setReservation(long Reservation)
Minimum Reservation for of this hardware device
-
getLimit
public long getLimit()
Maximum Limit of allocation of this hardware device
-
setLimit
public void setLimit(long Limit)
Maximum Limit of allocation of this hardware device
-
getAutomaticAllocation
public boolean getAutomaticAllocation()
Whether automatic connection at power on
-
setAutomaticAllocation
public void setAutomaticAllocation(boolean AutomaticAllocation)
Whether automatic connection at power on
-
getAllocationUnit
public java.lang.String getAllocationUnit()
Allocation Unit for this hardware device
-
setAllocationUnit
public void setAllocationUnit(java.lang.String AllocationUnit)
Allocation Unit for this hardware device
-
getWeight
public java.lang.String getWeight()
Weightage of allocation w.r.t other devices
-
setWeight
public void setWeight(java.lang.String Weight)
Weightage of allocation w.r.t other devices
-
getHostResource
public java.lang.String getHostResource()
-
setHostResource
public void setHostResource(java.lang.String HostResource)
-
getVirtualHardwareResourceSubtype
public VirtualHardwareResourceSubtype getVirtualHardwareResourceSubtype()
Hardware Resource Subtype
-
setVirtualHardwareResourceSubtype
public void setVirtualHardwareResourceSubtype(VirtualHardwareResourceSubtype VirtualHardwareResourceSubtype)
Hardware Resource Subtype
-
getVirtualHardwareResourceType
public VirtualHardwareResourceType getVirtualHardwareResourceType()
Hardware Resource Type
-
setVirtualHardwareResourceType
public void setVirtualHardwareResourceType(VirtualHardwareResourceType VirtualHardwareResourceType)
Hardware Resource Type
-
-