public class ParallelEnvironmentImpl extends GEObjectImpl implements ParallelEnvironment
Warning: The ParallelEnvironmentImpl class will not be compatible with future Sun™ Grid Engine releases.
| Constructor and Description |
|---|
ParallelEnvironmentImpl()
Create a new instance of ParallelEnvironmentImpl.
|
ParallelEnvironmentImpl(boolean initWithDefaultValues)
Create a new instanceof
|
ParallelEnvironmentImpl(java.lang.String name)
Create a new instance of ParallelEnvironmentImpl
|
| Modifier and Type | Method and Description |
|---|---|
void |
addUser(UserSet auser)
Add a com.sun.grid.jgdi.configuration.UserSet attribute.
|
void |
addXuser(UserSet axuser)
Add a com.sun.grid.jgdi.configuration.UserSet 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 |
getAllocationRule()
Get the value of the allocationRule attribute.
|
java.lang.String |
getName()
Get the value of the name attribute.
|
java.lang.String |
getQsortArgs()
Get the value of the qsortArgs attribute.
|
int |
getSlots()
Get the value of the slots attribute.
|
java.lang.String |
getStartProcArgs()
Get the value of the startProcArgs attribute.
|
java.lang.String |
getStopProcArgs()
Get the value of the stopProcArgs attribute.
|
java.lang.String |
getUrgencySlots()
Get the value of the urgencySlots attribute.
|
UserSet |
getUser(int index)
Get a com.sun.grid.jgdi.configuration.UserSet attribute at an index.
|
int |
getUserCount()
Get the number of com.sun.grid.jgdi.configuration.UserSet attributes.
|
java.util.List<UserSet> |
getUserList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.UserSet attributes.
|
UserSet |
getXuser(int index)
Get a com.sun.grid.jgdi.configuration.UserSet attribute at an index.
|
int |
getXuserCount()
Get the number of com.sun.grid.jgdi.configuration.UserSet attributes.
|
java.util.List<UserSet> |
getXuserList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.UserSet attributes.
|
boolean |
isAccountingSummary()
Get the value of the accountingSummary attribute.
|
boolean |
isControlSlaves()
Get the value of the controlSlaves attribute.
|
boolean |
isJobIsFirstTask()
Get the value of the jobIsFirstTask attribute.
|
boolean |
isSetAccountingSummary()
Determine if the accountingSummary attribute is set
|
boolean |
isSetAllocationRule()
Determine if the allocationRule attribute is set
|
boolean |
isSetControlSlaves()
Determine if the controlSlaves attribute is set
|
boolean |
isSetJobIsFirstTask()
Determine if the jobIsFirstTask attribute is set
|
boolean |
isSetName()
Determine if the name attribute is set
|
boolean |
isSetQsortArgs()
Determine if the qsortArgs attribute is set
|
boolean |
isSetSlots()
Determine if the slots attribute is set
|
boolean |
isSetStartProcArgs()
Determine if the startProcArgs attribute is set
|
boolean |
isSetStopProcArgs()
Determine if the stopProcArgs attribute is set
|
boolean |
isSetUrgencySlots()
Determine if the urgencySlots attribute is set
|
boolean |
isSetUser()
Determine if the user attribute is set
|
boolean |
isSetXuser()
Determine if the xuser attribute is set
|
void |
removeAllUser()
Remove all com.sun.grid.jgdi.configuration.UserSet attributes.
|
void |
removeAllXuser()
Remove all com.sun.grid.jgdi.configuration.UserSet attributes.
|
UserSet |
removeUser(int index)
Remote a com.sun.grid.jgdi.configuration.UserSet attribute at an index.
|
boolean |
removeUser(UserSet auser)
Remote a specific com.sun.grid.jgdi.configuration.UserSet attribute.
|
UserSet |
removeXuser(int index)
Remote a com.sun.grid.jgdi.configuration.UserSet attribute at an index.
|
boolean |
removeXuser(UserSet axuser)
Remote a specific com.sun.grid.jgdi.configuration.UserSet attribute.
|
void |
setAccountingSummary(boolean aAccountingSummary)
Set the accountingSummary attribute.
|
void |
setAllocationRule(java.lang.String aAllocationRule)
Set the allocationRule attribute.
|
void |
setControlSlaves(boolean aControlSlaves)
Set the controlSlaves attribute.
|
void |
setJobIsFirstTask(boolean aJobIsFirstTask)
Set the jobIsFirstTask attribute.
|
void |
setName(java.lang.String aName)
Set the name attribute.
|
void |
setQsortArgs(java.lang.String aQsortArgs)
Set the qsortArgs attribute.
|
void |
setSlots(int aSlots)
Set the slots attribute.
|
void |
setStartProcArgs(java.lang.String aStartProcArgs)
Set the startProcArgs attribute.
|
void |
setStopProcArgs(java.lang.String aStopProcArgs)
Set the stopProcArgs attribute.
|
void |
setUrgencySlots(java.lang.String aUrgencySlots)
Set the urgencySlots attribute.
|
void |
setUser(int index,
UserSet auser)
Set a com.sun.grid.jgdi.configuration.UserSet attribute.
|
void |
setXuser(int index,
UserSet axuser)
Set a com.sun.grid.jgdi.configuration.UserSet attribute.
|
java.lang.String |
toString() |
getParent, getPathName, getRoot, setParentpublic ParallelEnvironmentImpl()
public ParallelEnvironmentImpl(boolean initWithDefaultValues)
initWithDefaultValues - if true the new instance will
be initialized with the default values as defined
in the cull definition.public ParallelEnvironmentImpl(java.lang.String name)
public boolean isSetName()
isSetName in interface ParallelEnvironmenttrue if the name attribute is setpublic void setName(java.lang.String aName)
setName in interface ParallelEnvironmentsetName in class GEObjectImplaName - the new value for the name attributepublic java.lang.String getName()
getName in interface GEObjectgetName in interface ParallelEnvironmentgetName in class GEObjectImplpublic boolean isSetSlots()
isSetSlots in interface ParallelEnvironmenttrue if the slots attribute is setpublic void setSlots(int aSlots)
setSlots in interface ParallelEnvironmentaSlots - the new value for the slots attributepublic int getSlots()
getSlots in interface ParallelEnvironmentpublic void addUser(UserSet auser)
addUser in interface ParallelEnvironmentauser - the new com.sun.grid.jgdi.configuration.UserSet attributepublic void setUser(int index,
UserSet auser)
setUser in interface ParallelEnvironmentindex - index of the com.sun.grid.jgdi.configuration.UserSet attributeauser - the new com.sun.grid.jgdi.configuration.UserSet attributepublic void removeAllUser()
removeAllUser in interface ParallelEnvironmentpublic UserSet removeUser(int index)
removeUser in interface ParallelEnvironmentindex - the index of the com.sun.grid.jgdi.configuration.UserSet attribute which should be
removednull if
no attribute at this index is storedpublic boolean removeUser(UserSet auser)
removeUser in interface ParallelEnvironmentauser - the com.sun.grid.jgdi.configuration.UserSet attribute which should be
removedtrue if the com.sun.grid.jgdi.configuration.UserSet attribute has been removedpublic java.util.List<UserSet> getUserList()
getUserList in interface ParallelEnvironmentpublic int getUserCount()
getUserCount in interface ParallelEnvironmentpublic UserSet getUser(int index)
getUser in interface ParallelEnvironmentindex - the index of the com.sun.grid.jgdi.configuration.UserSet attribute which should be
removedpublic boolean isSetUser()
isSetUser in interface ParallelEnvironmenttrue if the user attribute is setpublic void addXuser(UserSet axuser)
addXuser in interface ParallelEnvironmentaxuser - the new com.sun.grid.jgdi.configuration.UserSet attributepublic void setXuser(int index,
UserSet axuser)
setXuser in interface ParallelEnvironmentindex - index of the com.sun.grid.jgdi.configuration.UserSet attributeaxuser - the new com.sun.grid.jgdi.configuration.UserSet attributepublic void removeAllXuser()
removeAllXuser in interface ParallelEnvironmentpublic UserSet removeXuser(int index)
removeXuser in interface ParallelEnvironmentindex - the index of the com.sun.grid.jgdi.configuration.UserSet attribute which should be
removednull if
no attribute at this index is storedpublic boolean removeXuser(UserSet axuser)
removeXuser in interface ParallelEnvironmentaxuser - the com.sun.grid.jgdi.configuration.UserSet attribute which should be
removedtrue if the com.sun.grid.jgdi.configuration.UserSet attribute has been removedpublic java.util.List<UserSet> getXuserList()
getXuserList in interface ParallelEnvironmentpublic int getXuserCount()
getXuserCount in interface ParallelEnvironmentpublic UserSet getXuser(int index)
getXuser in interface ParallelEnvironmentindex - the index of the com.sun.grid.jgdi.configuration.UserSet attribute which should be
removedpublic boolean isSetXuser()
isSetXuser in interface ParallelEnvironmenttrue if the xuser attribute is setpublic boolean isSetStartProcArgs()
isSetStartProcArgs in interface ParallelEnvironmenttrue if the startProcArgs attribute is setpublic void setStartProcArgs(java.lang.String aStartProcArgs)
setStartProcArgs in interface ParallelEnvironmentaStartProcArgs - the new value for the startProcArgs attributepublic java.lang.String getStartProcArgs()
getStartProcArgs in interface ParallelEnvironmentpublic boolean isSetStopProcArgs()
isSetStopProcArgs in interface ParallelEnvironmenttrue if the stopProcArgs attribute is setpublic void setStopProcArgs(java.lang.String aStopProcArgs)
setStopProcArgs in interface ParallelEnvironmentaStopProcArgs - the new value for the stopProcArgs attributepublic java.lang.String getStopProcArgs()
getStopProcArgs in interface ParallelEnvironmentpublic boolean isSetAllocationRule()
isSetAllocationRule in interface ParallelEnvironmenttrue if the allocationRule attribute is setpublic void setAllocationRule(java.lang.String aAllocationRule)
setAllocationRule in interface ParallelEnvironmentaAllocationRule - the new value for the allocationRule attributepublic java.lang.String getAllocationRule()
getAllocationRule in interface ParallelEnvironmentpublic boolean isSetControlSlaves()
isSetControlSlaves in interface ParallelEnvironmenttrue if the controlSlaves attribute is setpublic void setControlSlaves(boolean aControlSlaves)
setControlSlaves in interface ParallelEnvironmentaControlSlaves - the new value for the controlSlaves attributepublic boolean isControlSlaves()
isControlSlaves in interface ParallelEnvironmentpublic boolean isSetJobIsFirstTask()
isSetJobIsFirstTask in interface ParallelEnvironmenttrue if the jobIsFirstTask attribute is setpublic void setJobIsFirstTask(boolean aJobIsFirstTask)
setJobIsFirstTask in interface ParallelEnvironmentaJobIsFirstTask - the new value for the jobIsFirstTask attributepublic boolean isJobIsFirstTask()
isJobIsFirstTask in interface ParallelEnvironmentpublic boolean isSetUrgencySlots()
isSetUrgencySlots in interface ParallelEnvironmenttrue if the urgencySlots attribute is setpublic void setUrgencySlots(java.lang.String aUrgencySlots)
setUrgencySlots in interface ParallelEnvironmentaUrgencySlots - the new value for the urgencySlots attributepublic java.lang.String getUrgencySlots()
getUrgencySlots in interface ParallelEnvironmentpublic boolean isSetAccountingSummary()
isSetAccountingSummary in interface ParallelEnvironmenttrue if the accountingSummary attribute is setpublic void setAccountingSummary(boolean aAccountingSummary)
setAccountingSummary in interface ParallelEnvironmentaAccountingSummary - the new value for the accountingSummary attributepublic boolean isAccountingSummary()
isAccountingSummary in interface ParallelEnvironmentpublic boolean isSetQsortArgs()
isSetQsortArgs in interface ParallelEnvironmenttrue if the qsortArgs attribute is setpublic void setQsortArgs(java.lang.String aQsortArgs)
setQsortArgs in interface ParallelEnvironmentaQsortArgs - the new value for the qsortArgs attributepublic java.lang.String getQsortArgs()
getQsortArgs in interface ParallelEnvironmentpublic 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 ParallelEnvironmentCopyright © 2007 Sun Microsystems, Inc. All rights reserved.