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, setParent
public 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 ResourceDiagramEntry
true
if the time attribute is setpublic void setTime(int aTime)
setTime
in interface ResourceDiagramEntry
aTime
- the new value for the time attributepublic int getTime()
getTime
in interface ResourceDiagramEntry
public boolean isSetAmount()
isSetAmount
in interface ResourceDiagramEntry
true
if the amount attribute is setpublic void setAmount(double aAmount)
setAmount
in interface ResourceDiagramEntry
aAmount
- the new value for the amount attributepublic double getAmount()
getAmount
in interface ResourceDiagramEntry
public boolean equals(java.lang.Object obj)
obj
.equals
in class java.lang.Object
obj
- 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 GEObject
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String dump()
dump
in interface ResourceDiagramEntry
Copyright © 2007 Sun Microsystems, Inc. All rights reserved.