public class JobSchedulingInfoImpl extends GEObjectImpl implements JobSchedulingInfo
Warning: The JobSchedulingInfoImpl class will not be compatible with future Sun™ Grid Engine releases.
Constructor and Description |
---|
JobSchedulingInfoImpl()
Create a new instance of JobSchedulingInfoImpl.
|
JobSchedulingInfoImpl(boolean initWithDefaultValues)
Create a new instanceof
|
Modifier and Type | Method and Description |
---|---|
void |
addGlobalMessage(JobSchedulingMessage aglobalMessage)
Add a com.sun.grid.jgdi.configuration.JobSchedulingMessage attribute.
|
void |
addMessage(JobSchedulingMessage amessage)
Add a com.sun.grid.jgdi.configuration.JobSchedulingMessage 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) |
JobSchedulingMessage |
getGlobalMessage(int index)
Get a com.sun.grid.jgdi.configuration.JobSchedulingMessage attribute at an index.
|
int |
getGlobalMessageCount()
Get the number of com.sun.grid.jgdi.configuration.JobSchedulingMessage attributes.
|
java.util.List<JobSchedulingMessage> |
getGlobalMessageList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.JobSchedulingMessage attributes.
|
JobSchedulingMessage |
getMessage(int index)
Get a com.sun.grid.jgdi.configuration.JobSchedulingMessage attribute at an index.
|
int |
getMessageCount()
Get the number of com.sun.grid.jgdi.configuration.JobSchedulingMessage attributes.
|
java.util.List<JobSchedulingMessage> |
getMessageList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.JobSchedulingMessage attributes.
|
boolean |
isSetGlobalMessage()
Determine if the globalMessage attribute is set
|
boolean |
isSetMessage()
Determine if the message attribute is set
|
void |
removeAllGlobalMessage()
Remove all com.sun.grid.jgdi.configuration.JobSchedulingMessage attributes.
|
void |
removeAllMessage()
Remove all com.sun.grid.jgdi.configuration.JobSchedulingMessage attributes.
|
JobSchedulingMessage |
removeGlobalMessage(int index)
Remote a com.sun.grid.jgdi.configuration.JobSchedulingMessage attribute at an index.
|
boolean |
removeGlobalMessage(JobSchedulingMessage aglobalMessage)
Remote a specific com.sun.grid.jgdi.configuration.JobSchedulingMessage attribute.
|
JobSchedulingMessage |
removeMessage(int index)
Remote a com.sun.grid.jgdi.configuration.JobSchedulingMessage attribute at an index.
|
boolean |
removeMessage(JobSchedulingMessage amessage)
Remote a specific com.sun.grid.jgdi.configuration.JobSchedulingMessage attribute.
|
void |
setGlobalMessage(int index,
JobSchedulingMessage aglobalMessage)
Set a com.sun.grid.jgdi.configuration.JobSchedulingMessage attribute.
|
void |
setMessage(int index,
JobSchedulingMessage amessage)
Set a com.sun.grid.jgdi.configuration.JobSchedulingMessage attribute.
|
java.lang.String |
toString() |
getName, getParent, getPathName, getRoot, setName, setParent
public JobSchedulingInfoImpl()
public JobSchedulingInfoImpl(boolean initWithDefaultValues)
initWithDefaultValues
- if true
the new instance will
be initialized with the default values as defined
in the cull definition.public void addMessage(JobSchedulingMessage amessage)
amessage
- the new com.sun.grid.jgdi.configuration.JobSchedulingMessage attributepublic void setMessage(int index, JobSchedulingMessage amessage)
index
- index of the com.sun.grid.jgdi.configuration.JobSchedulingMessage attributeamessage
- the new com.sun.grid.jgdi.configuration.JobSchedulingMessage attributepublic void removeAllMessage()
public JobSchedulingMessage removeMessage(int index)
index
- the index of the com.sun.grid.jgdi.configuration.JobSchedulingMessage attribute which should be
removednull
if
no attribute at this index is storedpublic boolean removeMessage(JobSchedulingMessage amessage)
amessage
- the com.sun.grid.jgdi.configuration.JobSchedulingMessage attribute which should be
removedtrue
if the com.sun.grid.jgdi.configuration.JobSchedulingMessage attribute has been removedpublic java.util.List<JobSchedulingMessage> getMessageList()
getMessageList
in interface JobSchedulingInfo
public int getMessageCount()
getMessageCount
in interface JobSchedulingInfo
public JobSchedulingMessage getMessage(int index)
getMessage
in interface JobSchedulingInfo
index
- the index of the com.sun.grid.jgdi.configuration.JobSchedulingMessage attribute which should be
removedpublic boolean isSetMessage()
isSetMessage
in interface JobSchedulingInfo
true
if the message attribute is setpublic void addGlobalMessage(JobSchedulingMessage aglobalMessage)
aglobalMessage
- the new com.sun.grid.jgdi.configuration.JobSchedulingMessage attributepublic void setGlobalMessage(int index, JobSchedulingMessage aglobalMessage)
index
- index of the com.sun.grid.jgdi.configuration.JobSchedulingMessage attributeaglobalMessage
- the new com.sun.grid.jgdi.configuration.JobSchedulingMessage attributepublic void removeAllGlobalMessage()
public JobSchedulingMessage removeGlobalMessage(int index)
index
- the index of the com.sun.grid.jgdi.configuration.JobSchedulingMessage attribute which should be
removednull
if
no attribute at this index is storedpublic boolean removeGlobalMessage(JobSchedulingMessage aglobalMessage)
aglobalMessage
- the com.sun.grid.jgdi.configuration.JobSchedulingMessage attribute which should be
removedtrue
if the com.sun.grid.jgdi.configuration.JobSchedulingMessage attribute has been removedpublic java.util.List<JobSchedulingMessage> getGlobalMessageList()
getGlobalMessageList
in interface JobSchedulingInfo
public int getGlobalMessageCount()
getGlobalMessageCount
in interface JobSchedulingInfo
public JobSchedulingMessage getGlobalMessage(int index)
getGlobalMessage
in interface JobSchedulingInfo
index
- the index of the com.sun.grid.jgdi.configuration.JobSchedulingMessage attribute which should be
removedpublic boolean isSetGlobalMessage()
isSetGlobalMessage
in interface JobSchedulingInfo
true
if the globalMessage attribute is setpublic 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 JobSchedulingInfo
Copyright © 2007 Sun Microsystems, Inc. All rights reserved.