public class ResourceQuotaRuleImpl extends GEObjectImpl implements ResourceQuotaRule
Warning: The ResourceQuotaRuleImpl class will not be compatible with future Sun™ Grid Engine releases.
| Constructor and Description |
|---|
ResourceQuotaRuleImpl()
Create a new instance of ResourceQuotaRuleImpl.
|
ResourceQuotaRuleImpl(boolean initWithDefaultValues)
Create a new instanceof
|
ResourceQuotaRuleImpl(java.lang.String name)
Create a new instance of ResourceQuotaRuleImpl
|
| Modifier and Type | Method and Description |
|---|---|
void |
addLimit(ResourceQuotaRuleLimit alimit)
Add a com.sun.grid.jgdi.configuration.ResourceQuotaRuleLimit 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) |
ResourceQuotaRuleFilter |
getFilterHosts()
Get the value of the filterHosts attribute.
|
ResourceQuotaRuleFilter |
getFilterPes()
Get the value of the filterPes attribute.
|
ResourceQuotaRuleFilter |
getFilterProjects()
Get the value of the filterProjects attribute.
|
ResourceQuotaRuleFilter |
getFilterQueues()
Get the value of the filterQueues attribute.
|
ResourceQuotaRuleFilter |
getFilterUsers()
Get the value of the filterUsers attribute.
|
int |
getLevel()
Get the value of the level attribute.
|
ResourceQuotaRuleLimit |
getLimit(int index)
Get a com.sun.grid.jgdi.configuration.ResourceQuotaRuleLimit attribute at an index.
|
int |
getLimitCount()
Get the number of com.sun.grid.jgdi.configuration.ResourceQuotaRuleLimit attributes.
|
java.util.List<ResourceQuotaRuleLimit> |
getLimitList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.ResourceQuotaRuleLimit attributes.
|
java.lang.String |
getName()
Get the value of the name attribute.
|
boolean |
isSetFilterHosts()
Determine if the filterHosts attribute is set
|
boolean |
isSetFilterPes()
Determine if the filterPes attribute is set
|
boolean |
isSetFilterProjects()
Determine if the filterProjects attribute is set
|
boolean |
isSetFilterQueues()
Determine if the filterQueues attribute is set
|
boolean |
isSetFilterUsers()
Determine if the filterUsers attribute is set
|
boolean |
isSetLevel()
Determine if the level attribute is set
|
boolean |
isSetLimit()
Determine if the limit attribute is set
|
boolean |
isSetName()
Determine if the name attribute is set
|
void |
removeAllLimit()
Remove all com.sun.grid.jgdi.configuration.ResourceQuotaRuleLimit attributes.
|
ResourceQuotaRuleLimit |
removeLimit(int index)
Remote a com.sun.grid.jgdi.configuration.ResourceQuotaRuleLimit attribute at an index.
|
boolean |
removeLimit(ResourceQuotaRuleLimit alimit)
Remote a specific com.sun.grid.jgdi.configuration.ResourceQuotaRuleLimit attribute.
|
void |
setFilterHosts(ResourceQuotaRuleFilter aFilterHosts)
Set the filterHosts attribute.
|
void |
setFilterPes(ResourceQuotaRuleFilter aFilterPes)
Set the filterPes attribute.
|
void |
setFilterProjects(ResourceQuotaRuleFilter aFilterProjects)
Set the filterProjects attribute.
|
void |
setFilterQueues(ResourceQuotaRuleFilter aFilterQueues)
Set the filterQueues attribute.
|
void |
setFilterUsers(ResourceQuotaRuleFilter aFilterUsers)
Set the filterUsers attribute.
|
void |
setLevel(int aLevel)
Set the level attribute.
|
void |
setLimit(int index,
ResourceQuotaRuleLimit alimit)
Set a com.sun.grid.jgdi.configuration.ResourceQuotaRuleLimit attribute.
|
void |
setName(java.lang.String aName)
Set the name attribute.
|
java.lang.String |
toString() |
getParent, getPathName, getRoot, setParentpublic ResourceQuotaRuleImpl()
public ResourceQuotaRuleImpl(boolean initWithDefaultValues)
initWithDefaultValues - if true the new instance will
be initialized with the default values as defined
in the cull definition.public ResourceQuotaRuleImpl(java.lang.String name)
public boolean isSetName()
isSetName in interface ResourceQuotaRuletrue if the name attribute is setpublic void setName(java.lang.String aName)
setName in interface ResourceQuotaRulesetName in class GEObjectImplaName - the new value for the name attributepublic java.lang.String getName()
getName in interface GEObjectgetName in interface ResourceQuotaRulegetName in class GEObjectImplpublic boolean isSetFilterUsers()
isSetFilterUsers in interface ResourceQuotaRuletrue if the filterUsers attribute is setpublic void setFilterUsers(ResourceQuotaRuleFilter aFilterUsers)
setFilterUsers in interface ResourceQuotaRuleaFilterUsers - the new value for the filterUsers attributepublic ResourceQuotaRuleFilter getFilterUsers()
getFilterUsers in interface ResourceQuotaRulepublic boolean isSetFilterProjects()
isSetFilterProjects in interface ResourceQuotaRuletrue if the filterProjects attribute is setpublic void setFilterProjects(ResourceQuotaRuleFilter aFilterProjects)
setFilterProjects in interface ResourceQuotaRuleaFilterProjects - the new value for the filterProjects attributepublic ResourceQuotaRuleFilter getFilterProjects()
getFilterProjects in interface ResourceQuotaRulepublic boolean isSetFilterPes()
isSetFilterPes in interface ResourceQuotaRuletrue if the filterPes attribute is setpublic void setFilterPes(ResourceQuotaRuleFilter aFilterPes)
setFilterPes in interface ResourceQuotaRuleaFilterPes - the new value for the filterPes attributepublic ResourceQuotaRuleFilter getFilterPes()
getFilterPes in interface ResourceQuotaRulepublic boolean isSetFilterQueues()
isSetFilterQueues in interface ResourceQuotaRuletrue if the filterQueues attribute is setpublic void setFilterQueues(ResourceQuotaRuleFilter aFilterQueues)
setFilterQueues in interface ResourceQuotaRuleaFilterQueues - the new value for the filterQueues attributepublic ResourceQuotaRuleFilter getFilterQueues()
getFilterQueues in interface ResourceQuotaRulepublic boolean isSetFilterHosts()
isSetFilterHosts in interface ResourceQuotaRuletrue if the filterHosts attribute is setpublic void setFilterHosts(ResourceQuotaRuleFilter aFilterHosts)
setFilterHosts in interface ResourceQuotaRuleaFilterHosts - the new value for the filterHosts attributepublic ResourceQuotaRuleFilter getFilterHosts()
getFilterHosts in interface ResourceQuotaRulepublic void addLimit(ResourceQuotaRuleLimit alimit)
addLimit in interface ResourceQuotaRulealimit - the new com.sun.grid.jgdi.configuration.ResourceQuotaRuleLimit attributepublic void setLimit(int index,
ResourceQuotaRuleLimit alimit)
setLimit in interface ResourceQuotaRuleindex - index of the com.sun.grid.jgdi.configuration.ResourceQuotaRuleLimit attributealimit - the new com.sun.grid.jgdi.configuration.ResourceQuotaRuleLimit attributepublic void removeAllLimit()
removeAllLimit in interface ResourceQuotaRulepublic ResourceQuotaRuleLimit removeLimit(int index)
removeLimit in interface ResourceQuotaRuleindex - the index of the com.sun.grid.jgdi.configuration.ResourceQuotaRuleLimit attribute which should be
removednull if
no attribute at this index is storedpublic boolean removeLimit(ResourceQuotaRuleLimit alimit)
removeLimit in interface ResourceQuotaRulealimit - the com.sun.grid.jgdi.configuration.ResourceQuotaRuleLimit attribute which should be
removedtrue if the com.sun.grid.jgdi.configuration.ResourceQuotaRuleLimit attribute has been removedpublic java.util.List<ResourceQuotaRuleLimit> getLimitList()
getLimitList in interface ResourceQuotaRulepublic int getLimitCount()
getLimitCount in interface ResourceQuotaRulepublic ResourceQuotaRuleLimit getLimit(int index)
getLimit in interface ResourceQuotaRuleindex - the index of the com.sun.grid.jgdi.configuration.ResourceQuotaRuleLimit attribute which should be
removedpublic boolean isSetLimit()
isSetLimit in interface ResourceQuotaRuletrue if the limit attribute is setpublic boolean isSetLevel()
isSetLevel in interface ResourceQuotaRuletrue if the level attribute is setpublic void setLevel(int aLevel)
aLevel - the new value for the level attributepublic int getLevel()
getLevel in interface ResourceQuotaRulepublic 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 ResourceQuotaRuleCopyright © 2007 Sun Microsystems, Inc. All rights reserved.