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.String
getAddress()
address of this hardware devicejava.lang.String
getAddressOnParent()
addressOnParent of this hardware devicejava.lang.String
getAllocationUnit()
Allocation Unit for this hardware deviceboolean
getAutomaticAllocation()
Whether automatic connection at power onjava.lang.String
getConnection()
connection of this hardware devicejava.lang.String
getHostResource()
int
getId()
id of this hardware devicejava.lang.String
getInfo()
info of this hardware devicelong
getLimit()
Maximum Limit of allocation of this hardware devicejava.lang.String
getName()
name of this hardware deviceint
getParent()
Id of the parent(parent controller) of this hardware devicelong
getReservation()
Minimum Reservation for of this hardware deviceVirtualHardwareResourceSubtype
getVirtualHardwareResourceSubtype()
Hardware Resource SubtypeVirtualHardwareResourceType
getVirtualHardwareResourceType()
Hardware Resource Typelong
getVirtualQuantity()
Quantity of this hardware devicejava.lang.String
getWeight()
Weightage of allocation w.r.t other devicesvoid
setAddress(java.lang.String Address)
address of this hardware devicevoid
setAddressOnParent(java.lang.String AddressOnParent)
addressOnParent of this hardware devicevoid
setAllocationUnit(java.lang.String AllocationUnit)
Allocation Unit for this hardware devicevoid
setAutomaticAllocation(boolean AutomaticAllocation)
Whether automatic connection at power onvoid
setConnection(java.lang.String Connection)
connection of this hardware devicevoid
setHostResource(java.lang.String HostResource)
void
setId(int Id)
id of this hardware devicevoid
setInfo(java.lang.String Info)
info of this hardware devicevoid
setLimit(long Limit)
Maximum Limit of allocation of this hardware devicevoid
setName(java.lang.String Name)
name of this hardware devicevoid
setParent(int Parent)
Id of the parent(parent controller) of this hardware devicevoid
setReservation(long Reservation)
Minimum Reservation for of this hardware devicevoid
setVirtualHardwareResourceSubtype(VirtualHardwareResourceSubtype VirtualHardwareResourceSubtype)
Hardware Resource Subtypevoid
setVirtualHardwareResourceType(VirtualHardwareResourceType VirtualHardwareResourceType)
Hardware Resource Typevoid
setVirtualQuantity(long VirtualQuantity)
Quantity of this hardware devicevoid
setWeight(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
-
-