public class ResourceDiagramEntryImpl extends GEObjectImpl implements ResourceDiagramEntry
Warning: The ResourceDiagramEntryImpl class will not be compatible with future Sun™ Grid Engine releases.
| Constructor and Description |
|---|
ResourceDiagramEntryImpl()
Create a new instance of ResourceDiagramEntryImpl.
|
ResourceDiagramEntryImpl(boolean initWithDefaultValues)
Create a new instanceof
|
| Modifier and Type | Method and Description |
|---|---|
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 |
getAmount()
Get the value of the amount attribute.
|
int |
getTime()
Get the value of the time attribute.
|
boolean |
isSetAmount()
Determine if the amount attribute is set
|
boolean |
isSetTime()
Determine if the time attribute is set
|
void |
setAmount(double aAmount)
Set the amount attribute.
|
void |
setTime(int aTime)
Set the time attribute.
|
java.lang.String |
toString() |
getName, getParent, getPathName, getRoot, setName, setParentpublic ResourceDiagramEntryImpl()
public ResourceDiagramEntryImpl(boolean initWithDefaultValues)
initWithDefaultValues - if true the new instance will
be initialized with the default values as defined
in the cull definition.public boolean isSetTime()
isSetTime in interface ResourceDiagramEntrytrue if the time attribute is setpublic void setTime(int aTime)
setTime in interface ResourceDiagramEntryaTime - the new value for the time attributepublic int getTime()
getTime in interface ResourceDiagramEntrypublic boolean isSetAmount()
isSetAmount in interface ResourceDiagramEntrytrue if the amount attribute is setpublic void setAmount(double aAmount)
setAmount in interface ResourceDiagramEntryaAmount - the new value for the amount attributepublic double getAmount()
getAmount in interface ResourceDiagramEntrypublic 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 ResourceDiagramEntryCopyright © 2007 Sun Microsystems, Inc. All rights reserved.