public class ShareTreeImpl extends GEObjectImpl implements ShareTree
Warning: The ShareTreeImpl class will not be compatible with future Sun™ Grid Engine releases.
| Constructor and Description |
|---|
ShareTreeImpl()
Create a new instance of ShareTreeImpl.
|
ShareTreeImpl(boolean initWithDefaultValues)
Create a new instanceof
|
ShareTreeImpl(java.lang.String name)
Create a new instance of ShareTreeImpl
|
| Modifier and Type | Method and Description |
|---|---|
void |
addChildren(ShareTree achildren)
Add a com.sun.grid.jgdi.configuration.ShareTree 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) |
double |
getActualProportion()
Get the value of the actualProportion attribute.
|
ShareTree |
getChildren(int index)
Get a com.sun.grid.jgdi.configuration.ShareTree attribute at an index.
|
int |
getChildrenCount()
Get the number of com.sun.grid.jgdi.configuration.ShareTree attributes.
|
java.util.List<ShareTree> |
getChildrenList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.ShareTree attributes.
|
int |
getId()
Get the value of the id attribute.
|
double |
getMShare()
Get the value of the mShare attribute.
|
java.lang.String |
getName()
Get the value of the name attribute.
|
int |
getShares()
Get the value of the shares attribute.
|
int |
getTemp()
Get the value of the temp attribute.
|
int |
getType()
Get the value of the type attribute.
|
boolean |
isSetActualProportion()
Determine if the actualProportion attribute is set
|
boolean |
isSetChildren()
Determine if the children attribute is set
|
boolean |
isSetId()
Determine if the id attribute is set
|
boolean |
isSetMShare()
Determine if the mShare attribute is set
|
boolean |
isSetName()
Determine if the name attribute is set
|
boolean |
isSetShares()
Determine if the shares attribute is set
|
boolean |
isSetTemp()
Determine if the temp attribute is set
|
boolean |
isSetType()
Determine if the type attribute is set
|
void |
removeAllChildren()
Remove all com.sun.grid.jgdi.configuration.ShareTree attributes.
|
ShareTree |
removeChildren(int index)
Remote a com.sun.grid.jgdi.configuration.ShareTree attribute at an index.
|
boolean |
removeChildren(ShareTree achildren)
Remote a specific com.sun.grid.jgdi.configuration.ShareTree attribute.
|
void |
setActualProportion(double aActualProportion)
Set the actualProportion attribute.
|
void |
setChildren(int index,
ShareTree achildren)
Set a com.sun.grid.jgdi.configuration.ShareTree attribute.
|
void |
setId(int aId)
Set the id attribute.
|
void |
setMShare(double aMShare)
Set the mShare attribute.
|
void |
setName(java.lang.String aName)
Set the name attribute.
|
void |
setShares(int aShares)
Set the shares attribute.
|
void |
setTemp(int aTemp)
Set the temp attribute.
|
void |
setType(int aType)
Set the type attribute.
|
java.lang.String |
toString() |
getParent, getPathName, getRoot, setParentpublic ShareTreeImpl()
public ShareTreeImpl(boolean initWithDefaultValues)
initWithDefaultValues - if true the new instance will
be initialized with the default values as defined
in the cull definition.public ShareTreeImpl(java.lang.String name)
public boolean isSetName()
public void setName(java.lang.String aName)
setName in interface ShareTreesetName in class GEObjectImplaName - the new value for the name attributepublic java.lang.String getName()
public boolean isSetType()
public void setType(int aType)
public int getType()
public boolean isSetId()
public void setId(int aId)
public int getId()
public boolean isSetShares()
isSetShares in interface ShareTreetrue if the shares attribute is setpublic void setShares(int aShares)
public int getShares()
public void addChildren(ShareTree achildren)
addChildren in interface ShareTreeachildren - the new com.sun.grid.jgdi.configuration.ShareTree attributepublic void setChildren(int index,
ShareTree achildren)
setChildren in interface ShareTreeindex - index of the com.sun.grid.jgdi.configuration.ShareTree attributeachildren - the new com.sun.grid.jgdi.configuration.ShareTree attributepublic void removeAllChildren()
removeAllChildren in interface ShareTreepublic ShareTree removeChildren(int index)
removeChildren in interface ShareTreeindex - the index of the com.sun.grid.jgdi.configuration.ShareTree attribute which should be
removednull if
no attribute at this index is storedpublic boolean removeChildren(ShareTree achildren)
removeChildren in interface ShareTreeachildren - the com.sun.grid.jgdi.configuration.ShareTree attribute which should be
removedtrue if the com.sun.grid.jgdi.configuration.ShareTree attribute has been removedpublic java.util.List<ShareTree> getChildrenList()
getChildrenList in interface ShareTreepublic int getChildrenCount()
getChildrenCount in interface ShareTreepublic ShareTree getChildren(int index)
getChildren in interface ShareTreeindex - the index of the com.sun.grid.jgdi.configuration.ShareTree attribute which should be
removedpublic boolean isSetChildren()
isSetChildren in interface ShareTreetrue if the children attribute is setpublic boolean isSetActualProportion()
isSetActualProportion in interface ShareTreetrue if the actualProportion attribute is setpublic void setActualProportion(double aActualProportion)
aActualProportion - the new value for the actualProportion attributepublic double getActualProportion()
getActualProportion in interface ShareTreepublic boolean isSetMShare()
isSetMShare in interface ShareTreetrue if the mShare attribute is setpublic void setMShare(double aMShare)
aMShare - the new value for the mShare attributepublic double getMShare()
public boolean isSetTemp()
public void setTemp(int aTemp)
aTemp - the new value for the temp attributepublic int getTemp()
public 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.ObjectCopyright © 2007 Sun Microsystems, Inc. All rights reserved.