public class ResourceUtilizationImpl extends GEObjectImpl implements ResourceUtilization
Warning: The ResourceUtilizationImpl class will not be compatible with future Sun™ Grid Engine releases.
| Constructor and Description |
|---|
ResourceUtilizationImpl()
Create a new instance of ResourceUtilizationImpl.
|
ResourceUtilizationImpl(boolean initWithDefaultValues)
Create a new instanceof
|
ResourceUtilizationImpl(java.lang.String name)
Create a new instance of ResourceUtilizationImpl
|
| Modifier and Type | Method and Description |
|---|---|
void |
addUtilized(ResourceDiagramEntry autilized)
Add a com.sun.grid.jgdi.configuration.ResourceDiagramEntry attribute.
|
void |
addUtilizedNonexclusive(ResourceDiagramEntry autilizedNonexclusive)
Add a com.sun.grid.jgdi.configuration.ResourceDiagramEntry 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 |
getName()
Get the value of the name attribute.
|
ResourceDiagramEntry |
getUtilized(int index)
Get a com.sun.grid.jgdi.configuration.ResourceDiagramEntry attribute at an index.
|
int |
getUtilizedCount()
Get the number of com.sun.grid.jgdi.configuration.ResourceDiagramEntry attributes.
|
java.util.List<ResourceDiagramEntry> |
getUtilizedList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.ResourceDiagramEntry attributes.
|
ResourceDiagramEntry |
getUtilizedNonexclusive(int index)
Get a com.sun.grid.jgdi.configuration.ResourceDiagramEntry attribute at an index.
|
int |
getUtilizedNonexclusiveCount()
Get the number of com.sun.grid.jgdi.configuration.ResourceDiagramEntry attributes.
|
java.util.List<ResourceDiagramEntry> |
getUtilizedNonexclusiveList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.ResourceDiagramEntry attributes.
|
double |
getUtilizedNow()
Get the value of the utilizedNow attribute.
|
double |
getUtilizedNowNonexclusive()
Get the value of the utilizedNowNonexclusive attribute.
|
boolean |
isSetName()
Determine if the name attribute is set
|
boolean |
isSetUtilized()
Determine if the utilized attribute is set
|
boolean |
isSetUtilizedNonexclusive()
Determine if the utilizedNonexclusive attribute is set
|
boolean |
isSetUtilizedNow()
Determine if the utilizedNow attribute is set
|
boolean |
isSetUtilizedNowNonexclusive()
Determine if the utilizedNowNonexclusive attribute is set
|
void |
removeAllUtilized()
Remove all com.sun.grid.jgdi.configuration.ResourceDiagramEntry attributes.
|
void |
removeAllUtilizedNonexclusive()
Remove all com.sun.grid.jgdi.configuration.ResourceDiagramEntry attributes.
|
ResourceDiagramEntry |
removeUtilized(int index)
Remote a com.sun.grid.jgdi.configuration.ResourceDiagramEntry attribute at an index.
|
boolean |
removeUtilized(ResourceDiagramEntry autilized)
Remote a specific com.sun.grid.jgdi.configuration.ResourceDiagramEntry attribute.
|
ResourceDiagramEntry |
removeUtilizedNonexclusive(int index)
Remote a com.sun.grid.jgdi.configuration.ResourceDiagramEntry attribute at an index.
|
boolean |
removeUtilizedNonexclusive(ResourceDiagramEntry autilizedNonexclusive)
Remote a specific com.sun.grid.jgdi.configuration.ResourceDiagramEntry attribute.
|
void |
setName(java.lang.String aName)
Set the name attribute.
|
void |
setUtilized(int index,
ResourceDiagramEntry autilized)
Set a com.sun.grid.jgdi.configuration.ResourceDiagramEntry attribute.
|
void |
setUtilizedNonexclusive(int index,
ResourceDiagramEntry autilizedNonexclusive)
Set a com.sun.grid.jgdi.configuration.ResourceDiagramEntry attribute.
|
void |
setUtilizedNow(double aUtilizedNow)
Set the utilizedNow attribute.
|
void |
setUtilizedNowNonexclusive(double aUtilizedNowNonexclusive)
Set the utilizedNowNonexclusive attribute.
|
java.lang.String |
toString() |
getParent, getPathName, getRoot, setParentpublic ResourceUtilizationImpl()
public ResourceUtilizationImpl(boolean initWithDefaultValues)
initWithDefaultValues - if true the new instance will
be initialized with the default values as defined
in the cull definition.public ResourceUtilizationImpl(java.lang.String name)
public boolean isSetName()
isSetName in interface ResourceUtilizationtrue if the name attribute is setpublic void setName(java.lang.String aName)
setName in interface ResourceUtilizationsetName in class GEObjectImplaName - the new value for the name attributepublic java.lang.String getName()
getName in interface GEObjectgetName in interface ResourceUtilizationgetName in class GEObjectImplpublic boolean isSetUtilizedNow()
isSetUtilizedNow in interface ResourceUtilizationtrue if the utilizedNow attribute is setpublic void setUtilizedNow(double aUtilizedNow)
setUtilizedNow in interface ResourceUtilizationaUtilizedNow - the new value for the utilizedNow attributepublic double getUtilizedNow()
getUtilizedNow in interface ResourceUtilizationpublic void addUtilized(ResourceDiagramEntry autilized)
addUtilized in interface ResourceUtilizationautilized - the new com.sun.grid.jgdi.configuration.ResourceDiagramEntry attributepublic void setUtilized(int index,
ResourceDiagramEntry autilized)
setUtilized in interface ResourceUtilizationindex - index of the com.sun.grid.jgdi.configuration.ResourceDiagramEntry attributeautilized - the new com.sun.grid.jgdi.configuration.ResourceDiagramEntry attributepublic void removeAllUtilized()
removeAllUtilized in interface ResourceUtilizationpublic ResourceDiagramEntry removeUtilized(int index)
removeUtilized in interface ResourceUtilizationindex - the index of the com.sun.grid.jgdi.configuration.ResourceDiagramEntry attribute which should be
removednull if
no attribute at this index is storedpublic boolean removeUtilized(ResourceDiagramEntry autilized)
removeUtilized in interface ResourceUtilizationautilized - the com.sun.grid.jgdi.configuration.ResourceDiagramEntry attribute which should be
removedtrue if the com.sun.grid.jgdi.configuration.ResourceDiagramEntry attribute has been removedpublic java.util.List<ResourceDiagramEntry> getUtilizedList()
getUtilizedList in interface ResourceUtilizationpublic int getUtilizedCount()
getUtilizedCount in interface ResourceUtilizationpublic ResourceDiagramEntry getUtilized(int index)
getUtilized in interface ResourceUtilizationindex - the index of the com.sun.grid.jgdi.configuration.ResourceDiagramEntry attribute which should be
removedpublic boolean isSetUtilized()
isSetUtilized in interface ResourceUtilizationtrue if the utilized attribute is setpublic boolean isSetUtilizedNowNonexclusive()
isSetUtilizedNowNonexclusive in interface ResourceUtilizationtrue if the utilizedNowNonexclusive attribute is setpublic void setUtilizedNowNonexclusive(double aUtilizedNowNonexclusive)
setUtilizedNowNonexclusive in interface ResourceUtilizationaUtilizedNowNonexclusive - the new value for the utilizedNowNonexclusive attributepublic double getUtilizedNowNonexclusive()
getUtilizedNowNonexclusive in interface ResourceUtilizationpublic void addUtilizedNonexclusive(ResourceDiagramEntry autilizedNonexclusive)
addUtilizedNonexclusive in interface ResourceUtilizationautilizedNonexclusive - the new com.sun.grid.jgdi.configuration.ResourceDiagramEntry attributepublic void setUtilizedNonexclusive(int index,
ResourceDiagramEntry autilizedNonexclusive)
setUtilizedNonexclusive in interface ResourceUtilizationindex - index of the com.sun.grid.jgdi.configuration.ResourceDiagramEntry attributeautilizedNonexclusive - the new com.sun.grid.jgdi.configuration.ResourceDiagramEntry attributepublic void removeAllUtilizedNonexclusive()
removeAllUtilizedNonexclusive in interface ResourceUtilizationpublic ResourceDiagramEntry removeUtilizedNonexclusive(int index)
removeUtilizedNonexclusive in interface ResourceUtilizationindex - the index of the com.sun.grid.jgdi.configuration.ResourceDiagramEntry attribute which should be
removednull if
no attribute at this index is storedpublic boolean removeUtilizedNonexclusive(ResourceDiagramEntry autilizedNonexclusive)
removeUtilizedNonexclusive in interface ResourceUtilizationautilizedNonexclusive - the com.sun.grid.jgdi.configuration.ResourceDiagramEntry attribute which should be
removedtrue if the com.sun.grid.jgdi.configuration.ResourceDiagramEntry attribute has been removedpublic java.util.List<ResourceDiagramEntry> getUtilizedNonexclusiveList()
getUtilizedNonexclusiveList in interface ResourceUtilizationpublic int getUtilizedNonexclusiveCount()
getUtilizedNonexclusiveCount in interface ResourceUtilizationpublic ResourceDiagramEntry getUtilizedNonexclusive(int index)
getUtilizedNonexclusive in interface ResourceUtilizationindex - the index of the com.sun.grid.jgdi.configuration.ResourceDiagramEntry attribute which should be
removedpublic boolean isSetUtilizedNonexclusive()
isSetUtilizedNonexclusive in interface ResourceUtilizationtrue if the utilizedNonexclusive 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 ResourceUtilizationCopyright © 2007 Sun Microsystems, Inc. All rights reserved.