public class ResourceQuotaRuleLimitImpl extends GEObjectImpl implements ResourceQuotaRuleLimit
Warning: The ResourceQuotaRuleLimitImpl class will not be compatible with future Sun™ Grid Engine releases.
| Constructor and Description |
|---|
ResourceQuotaRuleLimitImpl()
Create a new instance of ResourceQuotaRuleLimitImpl.
|
ResourceQuotaRuleLimitImpl(boolean initWithDefaultValues)
Create a new instanceof
|
ResourceQuotaRuleLimitImpl(java.lang.String name)
Create a new instance of ResourceQuotaRuleLimitImpl
|
| Modifier and Type | Method and Description |
|---|---|
void |
addUsage(ResourceUtilization ausage)
Add a com.sun.grid.jgdi.configuration.ResourceUtilization attribute.
|
java.lang.String |
dump() |
boolean |
equals(java.lang.Object obj)
Is the primary key information equal to the primary key information
of
obj. |
boolean |
equalsCompletely(java.lang.Object obj) |
double |
getDvalue()
Get the value of the dvalue attribute.
|
java.lang.String |
getName()
Get the value of the name attribute.
|
int |
getType()
Get the value of the type attribute.
|
ResourceUtilization |
getUsage(int index)
Get a com.sun.grid.jgdi.configuration.ResourceUtilization attribute at an index.
|
int |
getUsageCount()
Get the number of com.sun.grid.jgdi.configuration.ResourceUtilization attributes.
|
java.util.List<ResourceUtilization> |
getUsageList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.ResourceUtilization attributes.
|
java.lang.String |
getValue()
Get the value of the value attribute.
|
boolean |
isDynamic()
Get the value of the dynamic attribute.
|
boolean |
isSetDvalue()
Determine if the dvalue attribute is set
|
boolean |
isSetDynamic()
Determine if the dynamic attribute is set
|
boolean |
isSetName()
Determine if the name attribute is set
|
boolean |
isSetType()
Determine if the type attribute is set
|
boolean |
isSetUsage()
Determine if the usage attribute is set
|
boolean |
isSetValue()
Determine if the value attribute is set
|
void |
removeAllUsage()
Remove all com.sun.grid.jgdi.configuration.ResourceUtilization attributes.
|
ResourceUtilization |
removeUsage(int index)
Remote a com.sun.grid.jgdi.configuration.ResourceUtilization attribute at an index.
|
boolean |
removeUsage(ResourceUtilization ausage)
Remote a specific com.sun.grid.jgdi.configuration.ResourceUtilization attribute.
|
void |
setDvalue(double aDvalue)
Set the dvalue attribute.
|
void |
setDynamic(boolean aDynamic)
Set the dynamic attribute.
|
void |
setName(java.lang.String aName)
Set the name attribute.
|
void |
setType(int aType)
Set the type attribute.
|
void |
setUsage(int index,
ResourceUtilization ausage)
Set a com.sun.grid.jgdi.configuration.ResourceUtilization attribute.
|
void |
setValue(java.lang.String aValue)
Set the value attribute.
|
java.lang.String |
toString() |
getParent, getPathName, getRoot, setParentpublic ResourceQuotaRuleLimitImpl()
public ResourceQuotaRuleLimitImpl(boolean initWithDefaultValues)
initWithDefaultValues - if true the new instance will
be initialized with the default values as defined
in the cull definition.public ResourceQuotaRuleLimitImpl(java.lang.String name)
public boolean isSetName()
isSetName in interface ResourceQuotaRuleLimittrue if the name attribute is setpublic void setName(java.lang.String aName)
setName in interface ResourceQuotaRuleLimitsetName in class GEObjectImplaName - the new value for the name attributepublic java.lang.String getName()
getName in interface GEObjectgetName in interface ResourceQuotaRuleLimitgetName in class GEObjectImplpublic boolean isSetValue()
isSetValue in interface ResourceQuotaRuleLimittrue if the value attribute is setpublic void setValue(java.lang.String aValue)
setValue in interface ResourceQuotaRuleLimitaValue - the new value for the value attributepublic java.lang.String getValue()
getValue in interface ResourceQuotaRuleLimitpublic boolean isSetType()
isSetType in interface ResourceQuotaRuleLimittrue if the type attribute is setpublic void setType(int aType)
aType - the new value for the type attributepublic int getType()
getType in interface ResourceQuotaRuleLimitpublic boolean isSetDvalue()
isSetDvalue in interface ResourceQuotaRuleLimittrue if the dvalue attribute is setpublic void setDvalue(double aDvalue)
aDvalue - the new value for the dvalue attributepublic double getDvalue()
getDvalue in interface ResourceQuotaRuleLimitpublic void addUsage(ResourceUtilization ausage)
ausage - the new com.sun.grid.jgdi.configuration.ResourceUtilization attributepublic void setUsage(int index,
ResourceUtilization ausage)
index - index of the com.sun.grid.jgdi.configuration.ResourceUtilization attributeausage - the new com.sun.grid.jgdi.configuration.ResourceUtilization attributepublic void removeAllUsage()
public ResourceUtilization removeUsage(int index)
index - the index of the com.sun.grid.jgdi.configuration.ResourceUtilization attribute which should be
removednull if
no attribute at this index is storedpublic boolean removeUsage(ResourceUtilization ausage)
ausage - the com.sun.grid.jgdi.configuration.ResourceUtilization attribute which should be
removedtrue if the com.sun.grid.jgdi.configuration.ResourceUtilization attribute has been removedpublic java.util.List<ResourceUtilization> getUsageList()
getUsageList in interface ResourceQuotaRuleLimitpublic int getUsageCount()
getUsageCount in interface ResourceQuotaRuleLimitpublic ResourceUtilization getUsage(int index)
getUsage in interface ResourceQuotaRuleLimitindex - the index of the com.sun.grid.jgdi.configuration.ResourceUtilization attribute which should be
removedpublic boolean isSetUsage()
isSetUsage in interface ResourceQuotaRuleLimittrue if the usage attribute is setpublic boolean isSetDynamic()
isSetDynamic in interface ResourceQuotaRuleLimittrue if the dynamic attribute is setpublic void setDynamic(boolean aDynamic)
aDynamic - the new value for the dynamic attributepublic boolean isDynamic()
isDynamic in interface ResourceQuotaRuleLimitpublic boolean equals(java.lang.Object obj)
obj.equals in class java.lang.Objectobj - the compared objecttrue if the primary key information is equal to the
primary key informations of obj.public boolean equalsCompletely(java.lang.Object obj)
equalsCompletely in interface GEObjectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String dump()
dump in interface ResourceQuotaRuleLimitCopyright © 2007 Sun Microsystems, Inc. All rights reserved.