com.collation.platform.model.topology.relation
Interface AllocatedTo

All Superinterfaces:
ModelObject, Relationship, java.io.Serializable

public interface AllocatedTo
extends Relationship

Persistable:
true

Method Summary
 java.lang.String getAllocatedScheme()
           
 long getFixedAmount()
           
 long getMaxAmount()
           
 long getMinAmount()
           
 boolean hasAllocatedScheme()
           
 boolean hasFixedAmount()
           
 boolean hasMaxAmount()
           
 boolean hasMinAmount()
           
 void setAllocatedScheme(java.lang.String s)
           
 void setFixedAmount(long a)
           
 void setMaxAmount(long max)
           
 void setMinAmount(long min)
           
 
Methods inherited from interface com.collation.platform.model.topology.core.Relationship
getGenerated, getSource, getTarget, getType, hasGenerated, hasSource, hasTarget, hasType, setGenerated, setSource, setTarget, setType
 
Methods inherited from interface com.collation.platform.model.ModelObject
getAdminState, getAllAttributes, getBidiFlag, getBidiFormat, getCDMSource, getCmdbSource, getContextIp, getCreatedBy, getDescription, getDisplayName, getExtendedAttributes, getGuid, getLabel, getLastModifiedBy, getLastModifiedTime, getObjectType, getSourceToken, hasAdminState, hasBidiFlag, hasBidiFormat, hasCDMSource, hasCmdbSource, hasContextIp, hasDescription, hasDisplayName, hasExtendedAttributes, hasGuid, hasLabel, hasObjectType, hasSourceToken, setAdminState, setBidiFlag, setBidiFormat, setCDMSource, setCmdbSource, setContextIp, setDescription, setExtendedAttributes, setGuid, setLabel, setObjectType, setSourceToken
 

Method Detail

getAllocatedScheme

java.lang.String getAllocatedScheme()
                                    throws AttributeNotSetException
Returns:
Scheme used to allocate a virtual resource from a resource pool
Throws:
AttributeNotSetException

setAllocatedScheme

void setAllocatedScheme(java.lang.String s)

hasAllocatedScheme

boolean hasAllocatedScheme()

getMinAmount

long getMinAmount()
                  throws AttributeNotSetException
Returns:
Minimum amount of resource allocate from a resource pool to a virtual resource
Throws:
AttributeNotSetException

setMinAmount

void setMinAmount(long min)

hasMinAmount

boolean hasMinAmount()

getMaxAmount

long getMaxAmount()
                  throws AttributeNotSetException
Returns:
Maximum amount of resource allocate from a resource pool to a virtual resource
Throws:
AttributeNotSetException

setMaxAmount

void setMaxAmount(long max)

hasMaxAmount

boolean hasMaxAmount()

getFixedAmount

long getFixedAmount()
                    throws AttributeNotSetException
Returns:
Amount of resource allocate from a resource pool to a virtual resource
Throws:
AttributeNotSetException

setFixedAmount

void setFixedAmount(long a)

hasFixedAmount

boolean hasFixedAmount()