public class ResourceQuotaSetImpl extends GEObjectImpl implements ResourceQuotaSet
Warning: The ResourceQuotaSetImpl class will not be compatible with future Sun™ Grid Engine releases.
| Constructor and Description |
|---|
ResourceQuotaSetImpl()
Create a new instance of ResourceQuotaSetImpl.
|
ResourceQuotaSetImpl(boolean initWithDefaultValues)
Create a new instanceof
|
ResourceQuotaSetImpl(java.lang.String name)
Create a new instance of ResourceQuotaSetImpl
|
| Modifier and Type | Method and Description |
|---|---|
void |
addRule(ResourceQuotaRule arule)
Add a com.sun.grid.jgdi.configuration.ResourceQuotaRule 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) |
java.lang.String |
getDescription()
Get the value of the description attribute.
|
java.lang.String |
getName()
Get the value of the name attribute.
|
ResourceQuotaRule |
getRule(int index)
Get a com.sun.grid.jgdi.configuration.ResourceQuotaRule attribute at an index.
|
int |
getRuleCount()
Get the number of com.sun.grid.jgdi.configuration.ResourceQuotaRule attributes.
|
java.util.List<ResourceQuotaRule> |
getRuleList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.ResourceQuotaRule attributes.
|
boolean |
isEnabled()
Get the value of the enabled attribute.
|
boolean |
isSetDescription()
Determine if the description attribute is set
|
boolean |
isSetEnabled()
Determine if the enabled attribute is set
|
boolean |
isSetName()
Determine if the name attribute is set
|
boolean |
isSetRule()
Determine if the rule attribute is set
|
void |
removeAllRule()
Remove all com.sun.grid.jgdi.configuration.ResourceQuotaRule attributes.
|
ResourceQuotaRule |
removeRule(int index)
Remote a com.sun.grid.jgdi.configuration.ResourceQuotaRule attribute at an index.
|
boolean |
removeRule(ResourceQuotaRule arule)
Remote a specific com.sun.grid.jgdi.configuration.ResourceQuotaRule attribute.
|
void |
setDescription(java.lang.String aDescription)
Set the description attribute.
|
void |
setEnabled(boolean aEnabled)
Set the enabled attribute.
|
void |
setName(java.lang.String aName)
Set the name attribute.
|
void |
setRule(int index,
ResourceQuotaRule arule)
Set a com.sun.grid.jgdi.configuration.ResourceQuotaRule attribute.
|
java.lang.String |
toString() |
getParent, getPathName, getRoot, setParentpublic ResourceQuotaSetImpl()
public ResourceQuotaSetImpl(boolean initWithDefaultValues)
initWithDefaultValues - if true the new instance will
be initialized with the default values as defined
in the cull definition.public ResourceQuotaSetImpl(java.lang.String name)
public boolean isSetName()
isSetName in interface ResourceQuotaSettrue if the name attribute is setpublic void setName(java.lang.String aName)
setName in interface ResourceQuotaSetsetName in class GEObjectImplaName - the new value for the name attributepublic java.lang.String getName()
getName in interface GEObjectgetName in interface ResourceQuotaSetgetName in class GEObjectImplpublic boolean isSetDescription()
isSetDescription in interface ResourceQuotaSettrue if the description attribute is setpublic void setDescription(java.lang.String aDescription)
setDescription in interface ResourceQuotaSetaDescription - the new value for the description attributepublic java.lang.String getDescription()
getDescription in interface ResourceQuotaSetpublic boolean isSetEnabled()
isSetEnabled in interface ResourceQuotaSettrue if the enabled attribute is setpublic void setEnabled(boolean aEnabled)
setEnabled in interface ResourceQuotaSetaEnabled - the new value for the enabled attributepublic boolean isEnabled()
isEnabled in interface ResourceQuotaSetpublic void addRule(ResourceQuotaRule arule)
addRule in interface ResourceQuotaSetarule - the new com.sun.grid.jgdi.configuration.ResourceQuotaRule attributepublic void setRule(int index,
ResourceQuotaRule arule)
setRule in interface ResourceQuotaSetindex - index of the com.sun.grid.jgdi.configuration.ResourceQuotaRule attributearule - the new com.sun.grid.jgdi.configuration.ResourceQuotaRule attributepublic void removeAllRule()
removeAllRule in interface ResourceQuotaSetpublic ResourceQuotaRule removeRule(int index)
removeRule in interface ResourceQuotaSetindex - the index of the com.sun.grid.jgdi.configuration.ResourceQuotaRule attribute which should be
removednull if
no attribute at this index is storedpublic boolean removeRule(ResourceQuotaRule arule)
removeRule in interface ResourceQuotaSetarule - the com.sun.grid.jgdi.configuration.ResourceQuotaRule attribute which should be
removedtrue if the com.sun.grid.jgdi.configuration.ResourceQuotaRule attribute has been removedpublic java.util.List<ResourceQuotaRule> getRuleList()
getRuleList in interface ResourceQuotaSetpublic int getRuleCount()
getRuleCount in interface ResourceQuotaSetpublic ResourceQuotaRule getRule(int index)
getRule in interface ResourceQuotaSetindex - the index of the com.sun.grid.jgdi.configuration.ResourceQuotaRule attribute which should be
removedpublic boolean isSetRule()
isSetRule in interface ResourceQuotaSettrue if the rule attribute is setpublic 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 ResourceQuotaSetCopyright © 2007 Sun Microsystems, Inc. All rights reserved.