com.sun.grid.jgdi.configuration
public class AdvanceReservationImpl extends GEObjectImpl implements AdvanceReservation
Warning: The AdvanceReservationImpl class will not be compatible with future Sun™ Grid Engine releases.
Constructor and Description |
---|
AdvanceReservationImpl()
Create a new instance of AdvanceReservationImpl.
|
AdvanceReservationImpl(boolean initWithDefaultValues)
Create a new instanceof
|
AdvanceReservationImpl(int id)
Create a new instance of AdvanceReservationImpl
|
Modifier and Type | Method and Description |
---|---|
void |
addAcl(ARA aacl)
Add a com.sun.grid.jgdi.configuration.ARA attribute.
|
void |
addGrantedSlots(JG agrantedSlots)
Add a com.sun.grid.jgdi.configuration.JG attribute.
|
void |
addMail(MailReceiver amail)
Add a com.sun.grid.jgdi.configuration.MailReceiver attribute.
|
void |
addMasterQueue(java.lang.String amasterQueue)
Add a java.lang.String attribute.
|
void |
addPeRange(Range apeRange)
Add a com.sun.grid.jgdi.configuration.Range attribute.
|
void |
addQueue(java.lang.String aqueue)
Add a java.lang.String attribute.
|
void |
addReservedQueues(QueueInstance areservedQueues)
Add a com.sun.grid.jgdi.configuration.QueueInstance attribute.
|
void |
addResource(ComplexEntry aresource)
Add a com.sun.grid.jgdi.configuration.ComplexEntry attribute.
|
void |
addResourceUtilization(ResourceUtilization aresourceUtilization)
Add a com.sun.grid.jgdi.configuration.ResourceUtilization attribute.
|
void |
addXacl(ARA axacl)
Add a com.sun.grid.jgdi.configuration.ARA 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 |
getAccount()
Get the value of the account attribute.
|
ARA |
getAcl(int index)
Get a com.sun.grid.jgdi.configuration.ARA attribute at an index.
|
int |
getAclCount()
Get the number of com.sun.grid.jgdi.configuration.ARA attributes.
|
java.util.List<ARA> |
getAclList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.ARA attributes.
|
java.lang.String |
getCheckpointName()
Get the value of the checkpointName attribute.
|
int |
getDuration()
Get the value of the duration attribute.
|
int |
getEndTime()
Get the value of the endTime attribute.
|
int |
getErrorHandling()
Get the value of the errorHandling attribute.
|
java.lang.String |
getGrantedPe()
Get the value of the grantedPe attribute.
|
JG |
getGrantedSlots(int index)
Get a com.sun.grid.jgdi.configuration.JG attribute at an index.
|
int |
getGrantedSlotsCount()
Get the number of com.sun.grid.jgdi.configuration.JG attributes.
|
java.util.List<JG> |
getGrantedSlotsList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.JG attributes.
|
java.lang.String |
getGroup()
Get the value of the group attribute.
|
int |
getId()
Get the value of the id attribute.
|
MailReceiver |
getMail(int index)
Get a com.sun.grid.jgdi.configuration.MailReceiver attribute at an index.
|
int |
getMailCount()
Get the number of com.sun.grid.jgdi.configuration.MailReceiver attributes.
|
java.util.List<MailReceiver> |
getMailList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.MailReceiver attributes.
|
int |
getMailOptions()
Get the value of the mailOptions attribute.
|
java.lang.String |
getMasterQueue(int index)
Get a java.lang.String attribute at an index.
|
int |
getMasterQueueCount()
Get the number of java.lang.String attributes.
|
java.util.List<java.lang.String> |
getMasterQueueList()
Get a unmodifiable list of all java.lang.String attributes.
|
java.lang.String |
getName()
Get the value of the name attribute.
|
java.lang.String |
getOwner()
Get the value of the owner attribute.
|
java.lang.String |
getPe()
Get the value of the pe attribute.
|
Range |
getPeRange(int index)
Get a com.sun.grid.jgdi.configuration.Range attribute at an index.
|
int |
getPeRangeCount()
Get the number of com.sun.grid.jgdi.configuration.Range attributes.
|
java.util.List<Range> |
getPeRangeList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.Range attributes.
|
java.lang.String |
getQueue(int index)
Get a java.lang.String attribute at an index.
|
int |
getQueueCount()
Get the number of java.lang.String attributes.
|
java.util.List<java.lang.String> |
getQueueList()
Get a unmodifiable list of all java.lang.String attributes.
|
QueueInstance |
getReservedQueues(int index)
Get a com.sun.grid.jgdi.configuration.QueueInstance attribute at an index.
|
int |
getReservedQueuesCount()
Get the number of com.sun.grid.jgdi.configuration.QueueInstance attributes.
|
java.util.List<QueueInstance> |
getReservedQueuesList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.QueueInstance attributes.
|
ComplexEntry |
getResource(int index)
Get a com.sun.grid.jgdi.configuration.ComplexEntry attribute at an index.
|
int |
getResourceCount()
Get the number of com.sun.grid.jgdi.configuration.ComplexEntry attributes.
|
java.util.List<ComplexEntry> |
getResourceList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.ComplexEntry attributes.
|
ResourceUtilization |
getResourceUtilization(int index)
Get a com.sun.grid.jgdi.configuration.ResourceUtilization attribute at an index.
|
int |
getResourceUtilizationCount()
Get the number of com.sun.grid.jgdi.configuration.ResourceUtilization attributes.
|
java.util.List<ResourceUtilization> |
getResourceUtilizationList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.ResourceUtilization attributes.
|
int |
getStartTime()
Get the value of the startTime attribute.
|
int |
getState()
Get the value of the state attribute.
|
java.lang.String |
getStateAsString() |
int |
getSubmissionTime()
Get the value of the submissionTime attribute.
|
int |
getType()
Get the value of the type attribute.
|
int |
getVerify()
Get the value of the verify attribute.
|
ARA |
getXacl(int index)
Get a com.sun.grid.jgdi.configuration.ARA attribute at an index.
|
int |
getXaclCount()
Get the number of com.sun.grid.jgdi.configuration.ARA attributes.
|
java.util.List<ARA> |
getXaclList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.ARA attributes.
|
boolean |
isSetAccount()
Determine if the account attribute is set
|
boolean |
isSetAcl()
Determine if the acl attribute is set
|
boolean |
isSetCheckpointName()
Determine if the checkpointName attribute is set
|
boolean |
isSetDuration()
Determine if the duration attribute is set
|
boolean |
isSetEndTime()
Determine if the endTime attribute is set
|
boolean |
isSetErrorHandling()
Determine if the errorHandling attribute is set
|
boolean |
isSetGrantedPe()
Determine if the grantedPe attribute is set
|
boolean |
isSetGrantedSlots()
Determine if the grantedSlots attribute is set
|
boolean |
isSetGroup()
Determine if the group attribute is set
|
boolean |
isSetId()
Determine if the id attribute is set
|
boolean |
isSetMail()
Determine if the mail attribute is set
|
boolean |
isSetMailOptions()
Determine if the mailOptions attribute is set
|
boolean |
isSetMasterQueue()
Determine if the masterQueue attribute is set
|
boolean |
isSetName()
Determine if the name attribute is set
|
boolean |
isSetOwner()
Determine if the owner attribute is set
|
boolean |
isSetPe()
Determine if the pe attribute is set
|
boolean |
isSetPeRange()
Determine if the peRange attribute is set
|
boolean |
isSetQueue()
Determine if the queue attribute is set
|
boolean |
isSetReservedQueues()
Determine if the reservedQueues attribute is set
|
boolean |
isSetResource()
Determine if the resource attribute is set
|
boolean |
isSetResourceUtilization()
Determine if the resourceUtilization attribute is set
|
boolean |
isSetStartTime()
Determine if the startTime attribute is set
|
boolean |
isSetState()
Determine if the state attribute is set
|
boolean |
isSetSubmissionTime()
Determine if the submissionTime attribute is set
|
boolean |
isSetType()
Determine if the type attribute is set
|
boolean |
isSetVerify()
Determine if the verify attribute is set
|
boolean |
isSetXacl()
Determine if the xacl attribute is set
|
boolean |
removeAcl(ARA aacl)
Remote a specific com.sun.grid.jgdi.configuration.ARA attribute.
|
ARA |
removeAcl(int index)
Remote a com.sun.grid.jgdi.configuration.ARA attribute at an index.
|
void |
removeAllAcl()
Remove all com.sun.grid.jgdi.configuration.ARA attributes.
|
void |
removeAllGrantedSlots()
Remove all com.sun.grid.jgdi.configuration.JG attributes.
|
void |
removeAllMail()
Remove all com.sun.grid.jgdi.configuration.MailReceiver attributes.
|
void |
removeAllMasterQueue()
Remove all java.lang.String attributes.
|
void |
removeAllPeRange()
Remove all com.sun.grid.jgdi.configuration.Range attributes.
|
void |
removeAllQueue()
Remove all java.lang.String attributes.
|
void |
removeAllReservedQueues()
Remove all com.sun.grid.jgdi.configuration.QueueInstance attributes.
|
void |
removeAllResource()
Remove all com.sun.grid.jgdi.configuration.ComplexEntry attributes.
|
void |
removeAllResourceUtilization()
Remove all com.sun.grid.jgdi.configuration.ResourceUtilization attributes.
|
void |
removeAllXacl()
Remove all com.sun.grid.jgdi.configuration.ARA attributes.
|
JG |
removeGrantedSlots(int index)
Remote a com.sun.grid.jgdi.configuration.JG attribute at an index.
|
boolean |
removeGrantedSlots(JG agrantedSlots)
Remote a specific com.sun.grid.jgdi.configuration.JG attribute.
|
MailReceiver |
removeMail(int index)
Remote a com.sun.grid.jgdi.configuration.MailReceiver attribute at an index.
|
boolean |
removeMail(MailReceiver amail)
Remote a specific com.sun.grid.jgdi.configuration.MailReceiver attribute.
|
java.lang.String |
removeMasterQueue(int index)
Remote a java.lang.String attribute at an index.
|
boolean |
removeMasterQueue(java.lang.String amasterQueue)
Remote a specific java.lang.String attribute.
|
Range |
removePeRange(int index)
Remote a com.sun.grid.jgdi.configuration.Range attribute at an index.
|
boolean |
removePeRange(Range apeRange)
Remote a specific com.sun.grid.jgdi.configuration.Range attribute.
|
java.lang.String |
removeQueue(int index)
Remote a java.lang.String attribute at an index.
|
boolean |
removeQueue(java.lang.String aqueue)
Remote a specific java.lang.String attribute.
|
QueueInstance |
removeReservedQueues(int index)
Remote a com.sun.grid.jgdi.configuration.QueueInstance attribute at an index.
|
boolean |
removeReservedQueues(QueueInstance areservedQueues)
Remote a specific com.sun.grid.jgdi.configuration.QueueInstance attribute.
|
boolean |
removeResource(ComplexEntry aresource)
Remote a specific com.sun.grid.jgdi.configuration.ComplexEntry attribute.
|
ComplexEntry |
removeResource(int index)
Remote a com.sun.grid.jgdi.configuration.ComplexEntry attribute at an index.
|
ResourceUtilization |
removeResourceUtilization(int index)
Remote a com.sun.grid.jgdi.configuration.ResourceUtilization attribute at an index.
|
boolean |
removeResourceUtilization(ResourceUtilization aresourceUtilization)
Remote a specific com.sun.grid.jgdi.configuration.ResourceUtilization attribute.
|
boolean |
removeXacl(ARA axacl)
Remote a specific com.sun.grid.jgdi.configuration.ARA attribute.
|
ARA |
removeXacl(int index)
Remote a com.sun.grid.jgdi.configuration.ARA attribute at an index.
|
void |
setAccount(java.lang.String aAccount)
Set the account attribute.
|
void |
setAcl(int index,
ARA aacl)
Set a com.sun.grid.jgdi.configuration.ARA attribute.
|
void |
setCheckpointName(java.lang.String aCheckpointName)
Set the checkpointName attribute.
|
void |
setDuration(int aDuration)
Set the duration attribute.
|
void |
setEndTime(int aEndTime)
Set the endTime attribute.
|
void |
setErrorHandling(int aErrorHandling)
Set the errorHandling attribute.
|
void |
setGrantedPe(java.lang.String aGrantedPe)
Set the grantedPe attribute.
|
void |
setGrantedSlots(int index,
JG agrantedSlots)
Set a com.sun.grid.jgdi.configuration.JG attribute.
|
void |
setGroup(java.lang.String aGroup)
Set the group attribute.
|
void |
setId(int aId)
Set the id attribute.
|
void |
setMail(int index,
MailReceiver amail)
Set a com.sun.grid.jgdi.configuration.MailReceiver attribute.
|
void |
setMailOptions(int aMailOptions)
Set the mailOptions attribute.
|
void |
setMasterQueue(int index,
java.lang.String amasterQueue)
Set a java.lang.String attribute.
|
void |
setName(java.lang.String aName)
Set the name attribute.
|
void |
setOwner(java.lang.String aOwner)
Set the owner attribute.
|
void |
setPe(java.lang.String aPe)
Set the pe attribute.
|
void |
setPeRange(int index,
Range apeRange)
Set a com.sun.grid.jgdi.configuration.Range attribute.
|
void |
setQueue(int index,
java.lang.String aqueue)
Set a java.lang.String attribute.
|
void |
setReservedQueues(int index,
QueueInstance areservedQueues)
Set a com.sun.grid.jgdi.configuration.QueueInstance attribute.
|
void |
setResource(int index,
ComplexEntry aresource)
Set a com.sun.grid.jgdi.configuration.ComplexEntry attribute.
|
void |
setResourceUtilization(int index,
ResourceUtilization aresourceUtilization)
Set a com.sun.grid.jgdi.configuration.ResourceUtilization attribute.
|
void |
setStartTime(int aStartTime)
Set the startTime attribute.
|
void |
setState(int aState)
Set the state attribute.
|
void |
setSubmissionTime(int aSubmissionTime)
Set the submissionTime attribute.
|
void |
setType(int aType)
Set the type attribute.
|
void |
setVerify(int aVerify)
Set the verify attribute.
|
void |
setXacl(int index,
ARA axacl)
Set a com.sun.grid.jgdi.configuration.ARA attribute.
|
java.lang.String |
toString() |
getParent, getPathName, getRoot, setParent
public AdvanceReservationImpl()
public AdvanceReservationImpl(boolean initWithDefaultValues)
initWithDefaultValues
- if true
the new instance will
be initialized with the default values as defined
in the cull definition.public AdvanceReservationImpl(int id)
public boolean isSetId()
isSetId
in interface AdvanceReservation
true
if the id attribute is setpublic void setId(int aId)
setId
in interface AdvanceReservation
aId
- the new value for the id attributepublic int getId()
getId
in interface AdvanceReservation
public boolean isSetName()
isSetName
in interface AdvanceReservation
true
if the name attribute is setpublic void setName(java.lang.String aName)
setName
in interface AdvanceReservation
setName
in class GEObjectImpl
aName
- the new value for the name attributepublic java.lang.String getName()
getName
in interface AdvanceReservation
getName
in interface GEObject
getName
in class GEObjectImpl
public boolean isSetAccount()
isSetAccount
in interface AdvanceReservation
true
if the account attribute is setpublic void setAccount(java.lang.String aAccount)
setAccount
in interface AdvanceReservation
aAccount
- the new value for the account attributepublic java.lang.String getAccount()
getAccount
in interface AdvanceReservation
public boolean isSetOwner()
isSetOwner
in interface AdvanceReservation
true
if the owner attribute is setpublic void setOwner(java.lang.String aOwner)
aOwner
- the new value for the owner attributepublic java.lang.String getOwner()
getOwner
in interface AdvanceReservation
public boolean isSetGroup()
isSetGroup
in interface AdvanceReservation
true
if the group attribute is setpublic void setGroup(java.lang.String aGroup)
aGroup
- the new value for the group attributepublic java.lang.String getGroup()
getGroup
in interface AdvanceReservation
public boolean isSetSubmissionTime()
isSetSubmissionTime
in interface AdvanceReservation
true
if the submissionTime attribute is setpublic void setSubmissionTime(int aSubmissionTime)
setSubmissionTime
in interface AdvanceReservation
aSubmissionTime
- the new value for the submissionTime attributepublic int getSubmissionTime()
getSubmissionTime
in interface AdvanceReservation
public boolean isSetStartTime()
isSetStartTime
in interface AdvanceReservation
true
if the startTime attribute is setpublic void setStartTime(int aStartTime)
setStartTime
in interface AdvanceReservation
aStartTime
- the new value for the startTime attributepublic int getStartTime()
getStartTime
in interface AdvanceReservation
public boolean isSetEndTime()
isSetEndTime
in interface AdvanceReservation
true
if the endTime attribute is setpublic void setEndTime(int aEndTime)
setEndTime
in interface AdvanceReservation
aEndTime
- the new value for the endTime attributepublic int getEndTime()
getEndTime
in interface AdvanceReservation
public boolean isSetDuration()
isSetDuration
in interface AdvanceReservation
true
if the duration attribute is setpublic void setDuration(int aDuration)
setDuration
in interface AdvanceReservation
aDuration
- the new value for the duration attributepublic int getDuration()
getDuration
in interface AdvanceReservation
public boolean isSetVerify()
isSetVerify
in interface AdvanceReservation
true
if the verify attribute is setpublic void setVerify(int aVerify)
setVerify
in interface AdvanceReservation
aVerify
- the new value for the verify attributepublic int getVerify()
getVerify
in interface AdvanceReservation
public boolean isSetErrorHandling()
isSetErrorHandling
in interface AdvanceReservation
true
if the errorHandling attribute is setpublic void setErrorHandling(int aErrorHandling)
setErrorHandling
in interface AdvanceReservation
aErrorHandling
- the new value for the errorHandling attributepublic int getErrorHandling()
getErrorHandling
in interface AdvanceReservation
public boolean isSetState()
isSetState
in interface AdvanceReservation
true
if the state attribute is setpublic void setState(int aState)
aState
- the new value for the state attributepublic int getState()
getState
in interface AdvanceReservation
public boolean isSetCheckpointName()
isSetCheckpointName
in interface AdvanceReservation
true
if the checkpointName attribute is setpublic void setCheckpointName(java.lang.String aCheckpointName)
setCheckpointName
in interface AdvanceReservation
aCheckpointName
- the new value for the checkpointName attributepublic java.lang.String getCheckpointName()
getCheckpointName
in interface AdvanceReservation
public void addResource(ComplexEntry aresource)
addResource
in interface AdvanceReservation
aresource
- the new com.sun.grid.jgdi.configuration.ComplexEntry attributepublic void setResource(int index, ComplexEntry aresource)
setResource
in interface AdvanceReservation
index
- index of the com.sun.grid.jgdi.configuration.ComplexEntry attributearesource
- the new com.sun.grid.jgdi.configuration.ComplexEntry attributepublic void removeAllResource()
removeAllResource
in interface AdvanceReservation
public ComplexEntry removeResource(int index)
removeResource
in interface AdvanceReservation
index
- the index of the com.sun.grid.jgdi.configuration.ComplexEntry attribute which should be
removednull
if
no attribute at this index is storedpublic boolean removeResource(ComplexEntry aresource)
removeResource
in interface AdvanceReservation
aresource
- the com.sun.grid.jgdi.configuration.ComplexEntry attribute which should be
removedtrue
if the com.sun.grid.jgdi.configuration.ComplexEntry attribute has been removedpublic java.util.List<ComplexEntry> getResourceList()
getResourceList
in interface AdvanceReservation
public int getResourceCount()
getResourceCount
in interface AdvanceReservation
public ComplexEntry getResource(int index)
getResource
in interface AdvanceReservation
index
- the index of the com.sun.grid.jgdi.configuration.ComplexEntry attribute which should be
removedpublic boolean isSetResource()
isSetResource
in interface AdvanceReservation
true
if the resource attribute is setpublic void addResourceUtilization(ResourceUtilization aresourceUtilization)
aresourceUtilization
- the new com.sun.grid.jgdi.configuration.ResourceUtilization attributepublic void setResourceUtilization(int index, ResourceUtilization aresourceUtilization)
index
- index of the com.sun.grid.jgdi.configuration.ResourceUtilization attributearesourceUtilization
- the new com.sun.grid.jgdi.configuration.ResourceUtilization attributepublic void removeAllResourceUtilization()
public ResourceUtilization removeResourceUtilization(int index)
index
- the index of the com.sun.grid.jgdi.configuration.ResourceUtilization attribute which should be
removednull
if
no attribute at this index is storedpublic boolean removeResourceUtilization(ResourceUtilization aresourceUtilization)
aresourceUtilization
- the com.sun.grid.jgdi.configuration.ResourceUtilization attribute which should be
removedtrue
if the com.sun.grid.jgdi.configuration.ResourceUtilization attribute has been removedpublic java.util.List<ResourceUtilization> getResourceUtilizationList()
getResourceUtilizationList
in interface AdvanceReservation
public int getResourceUtilizationCount()
getResourceUtilizationCount
in interface AdvanceReservation
public ResourceUtilization getResourceUtilization(int index)
getResourceUtilization
in interface AdvanceReservation
index
- the index of the com.sun.grid.jgdi.configuration.ResourceUtilization attribute which should be
removedpublic boolean isSetResourceUtilization()
isSetResourceUtilization
in interface AdvanceReservation
true
if the resourceUtilization attribute is setpublic void addQueue(java.lang.String aqueue)
addQueue
in interface AdvanceReservation
aqueue
- the new java.lang.String attributepublic void setQueue(int index, java.lang.String aqueue)
setQueue
in interface AdvanceReservation
index
- index of the java.lang.String attributeaqueue
- the new java.lang.String attributepublic void removeAllQueue()
removeAllQueue
in interface AdvanceReservation
public java.lang.String removeQueue(int index)
removeQueue
in interface AdvanceReservation
index
- the index of the java.lang.String attribute which should be
removednull
if
no attribute at this index is storedpublic boolean removeQueue(java.lang.String aqueue)
removeQueue
in interface AdvanceReservation
aqueue
- the java.lang.String attribute which should be
removedtrue
if the java.lang.String attribute has been removedpublic java.util.List<java.lang.String> getQueueList()
getQueueList
in interface AdvanceReservation
public int getQueueCount()
getQueueCount
in interface AdvanceReservation
public java.lang.String getQueue(int index)
getQueue
in interface AdvanceReservation
index
- the index of the java.lang.String attribute which should be
removedpublic boolean isSetQueue()
isSetQueue
in interface AdvanceReservation
true
if the queue attribute is setpublic void addGrantedSlots(JG agrantedSlots)
agrantedSlots
- the new com.sun.grid.jgdi.configuration.JG attributepublic void setGrantedSlots(int index, JG agrantedSlots)
index
- index of the com.sun.grid.jgdi.configuration.JG attributeagrantedSlots
- the new com.sun.grid.jgdi.configuration.JG attributepublic void removeAllGrantedSlots()
public JG removeGrantedSlots(int index)
index
- the index of the com.sun.grid.jgdi.configuration.JG attribute which should be
removednull
if
no attribute at this index is storedpublic boolean removeGrantedSlots(JG agrantedSlots)
agrantedSlots
- the com.sun.grid.jgdi.configuration.JG attribute which should be
removedtrue
if the com.sun.grid.jgdi.configuration.JG attribute has been removedpublic java.util.List<JG> getGrantedSlotsList()
getGrantedSlotsList
in interface AdvanceReservation
public int getGrantedSlotsCount()
getGrantedSlotsCount
in interface AdvanceReservation
public JG getGrantedSlots(int index)
getGrantedSlots
in interface AdvanceReservation
index
- the index of the com.sun.grid.jgdi.configuration.JG attribute which should be
removedpublic boolean isSetGrantedSlots()
isSetGrantedSlots
in interface AdvanceReservation
true
if the grantedSlots attribute is setpublic void addReservedQueues(QueueInstance areservedQueues)
areservedQueues
- the new com.sun.grid.jgdi.configuration.QueueInstance attributepublic void setReservedQueues(int index, QueueInstance areservedQueues)
index
- index of the com.sun.grid.jgdi.configuration.QueueInstance attributeareservedQueues
- the new com.sun.grid.jgdi.configuration.QueueInstance attributepublic void removeAllReservedQueues()
public QueueInstance removeReservedQueues(int index)
index
- the index of the com.sun.grid.jgdi.configuration.QueueInstance attribute which should be
removednull
if
no attribute at this index is storedpublic boolean removeReservedQueues(QueueInstance areservedQueues)
areservedQueues
- the com.sun.grid.jgdi.configuration.QueueInstance attribute which should be
removedtrue
if the com.sun.grid.jgdi.configuration.QueueInstance attribute has been removedpublic java.util.List<QueueInstance> getReservedQueuesList()
getReservedQueuesList
in interface AdvanceReservation
public int getReservedQueuesCount()
getReservedQueuesCount
in interface AdvanceReservation
public QueueInstance getReservedQueues(int index)
getReservedQueues
in interface AdvanceReservation
index
- the index of the com.sun.grid.jgdi.configuration.QueueInstance attribute which should be
removedpublic boolean isSetReservedQueues()
isSetReservedQueues
in interface AdvanceReservation
true
if the reservedQueues attribute is setpublic boolean isSetMailOptions()
isSetMailOptions
in interface AdvanceReservation
true
if the mailOptions attribute is setpublic void setMailOptions(int aMailOptions)
setMailOptions
in interface AdvanceReservation
aMailOptions
- the new value for the mailOptions attributepublic int getMailOptions()
getMailOptions
in interface AdvanceReservation
public void addMail(MailReceiver amail)
addMail
in interface AdvanceReservation
amail
- the new com.sun.grid.jgdi.configuration.MailReceiver attributepublic void setMail(int index, MailReceiver amail)
setMail
in interface AdvanceReservation
index
- index of the com.sun.grid.jgdi.configuration.MailReceiver attributeamail
- the new com.sun.grid.jgdi.configuration.MailReceiver attributepublic void removeAllMail()
removeAllMail
in interface AdvanceReservation
public MailReceiver removeMail(int index)
removeMail
in interface AdvanceReservation
index
- the index of the com.sun.grid.jgdi.configuration.MailReceiver attribute which should be
removednull
if
no attribute at this index is storedpublic boolean removeMail(MailReceiver amail)
removeMail
in interface AdvanceReservation
amail
- the com.sun.grid.jgdi.configuration.MailReceiver attribute which should be
removedtrue
if the com.sun.grid.jgdi.configuration.MailReceiver attribute has been removedpublic java.util.List<MailReceiver> getMailList()
getMailList
in interface AdvanceReservation
public int getMailCount()
getMailCount
in interface AdvanceReservation
public MailReceiver getMail(int index)
getMail
in interface AdvanceReservation
index
- the index of the com.sun.grid.jgdi.configuration.MailReceiver attribute which should be
removedpublic boolean isSetMail()
isSetMail
in interface AdvanceReservation
true
if the mail attribute is setpublic boolean isSetPe()
isSetPe
in interface AdvanceReservation
true
if the pe attribute is setpublic void setPe(java.lang.String aPe)
setPe
in interface AdvanceReservation
aPe
- the new value for the pe attributepublic java.lang.String getPe()
getPe
in interface AdvanceReservation
public void addPeRange(Range apeRange)
addPeRange
in interface AdvanceReservation
apeRange
- the new com.sun.grid.jgdi.configuration.Range attributepublic void setPeRange(int index, Range apeRange)
setPeRange
in interface AdvanceReservation
index
- index of the com.sun.grid.jgdi.configuration.Range attributeapeRange
- the new com.sun.grid.jgdi.configuration.Range attributepublic void removeAllPeRange()
removeAllPeRange
in interface AdvanceReservation
public Range removePeRange(int index)
removePeRange
in interface AdvanceReservation
index
- the index of the com.sun.grid.jgdi.configuration.Range attribute which should be
removednull
if
no attribute at this index is storedpublic boolean removePeRange(Range apeRange)
removePeRange
in interface AdvanceReservation
apeRange
- the com.sun.grid.jgdi.configuration.Range attribute which should be
removedtrue
if the com.sun.grid.jgdi.configuration.Range attribute has been removedpublic java.util.List<Range> getPeRangeList()
getPeRangeList
in interface AdvanceReservation
public int getPeRangeCount()
getPeRangeCount
in interface AdvanceReservation
public Range getPeRange(int index)
getPeRange
in interface AdvanceReservation
index
- the index of the com.sun.grid.jgdi.configuration.Range attribute which should be
removedpublic boolean isSetPeRange()
isSetPeRange
in interface AdvanceReservation
true
if the peRange attribute is setpublic boolean isSetGrantedPe()
isSetGrantedPe
in interface AdvanceReservation
true
if the grantedPe attribute is setpublic void setGrantedPe(java.lang.String aGrantedPe)
setGrantedPe
in interface AdvanceReservation
aGrantedPe
- the new value for the grantedPe attributepublic java.lang.String getGrantedPe()
getGrantedPe
in interface AdvanceReservation
public void addMasterQueue(java.lang.String amasterQueue)
addMasterQueue
in interface AdvanceReservation
amasterQueue
- the new java.lang.String attributepublic void setMasterQueue(int index, java.lang.String amasterQueue)
setMasterQueue
in interface AdvanceReservation
index
- index of the java.lang.String attributeamasterQueue
- the new java.lang.String attributepublic void removeAllMasterQueue()
removeAllMasterQueue
in interface AdvanceReservation
public java.lang.String removeMasterQueue(int index)
removeMasterQueue
in interface AdvanceReservation
index
- the index of the java.lang.String attribute which should be
removednull
if
no attribute at this index is storedpublic boolean removeMasterQueue(java.lang.String amasterQueue)
removeMasterQueue
in interface AdvanceReservation
amasterQueue
- the java.lang.String attribute which should be
removedtrue
if the java.lang.String attribute has been removedpublic java.util.List<java.lang.String> getMasterQueueList()
getMasterQueueList
in interface AdvanceReservation
public int getMasterQueueCount()
getMasterQueueCount
in interface AdvanceReservation
public java.lang.String getMasterQueue(int index)
getMasterQueue
in interface AdvanceReservation
index
- the index of the java.lang.String attribute which should be
removedpublic boolean isSetMasterQueue()
isSetMasterQueue
in interface AdvanceReservation
true
if the masterQueue attribute is setpublic void addAcl(ARA aacl)
addAcl
in interface AdvanceReservation
aacl
- the new com.sun.grid.jgdi.configuration.ARA attributepublic void setAcl(int index, ARA aacl)
setAcl
in interface AdvanceReservation
index
- index of the com.sun.grid.jgdi.configuration.ARA attributeaacl
- the new com.sun.grid.jgdi.configuration.ARA attributepublic void removeAllAcl()
removeAllAcl
in interface AdvanceReservation
public ARA removeAcl(int index)
removeAcl
in interface AdvanceReservation
index
- the index of the com.sun.grid.jgdi.configuration.ARA attribute which should be
removednull
if
no attribute at this index is storedpublic boolean removeAcl(ARA aacl)
removeAcl
in interface AdvanceReservation
aacl
- the com.sun.grid.jgdi.configuration.ARA attribute which should be
removedtrue
if the com.sun.grid.jgdi.configuration.ARA attribute has been removedpublic java.util.List<ARA> getAclList()
getAclList
in interface AdvanceReservation
public int getAclCount()
getAclCount
in interface AdvanceReservation
public ARA getAcl(int index)
getAcl
in interface AdvanceReservation
index
- the index of the com.sun.grid.jgdi.configuration.ARA attribute which should be
removedpublic boolean isSetAcl()
isSetAcl
in interface AdvanceReservation
true
if the acl attribute is setpublic void addXacl(ARA axacl)
addXacl
in interface AdvanceReservation
axacl
- the new com.sun.grid.jgdi.configuration.ARA attributepublic void setXacl(int index, ARA axacl)
setXacl
in interface AdvanceReservation
index
- index of the com.sun.grid.jgdi.configuration.ARA attributeaxacl
- the new com.sun.grid.jgdi.configuration.ARA attributepublic void removeAllXacl()
removeAllXacl
in interface AdvanceReservation
public ARA removeXacl(int index)
removeXacl
in interface AdvanceReservation
index
- the index of the com.sun.grid.jgdi.configuration.ARA attribute which should be
removednull
if
no attribute at this index is storedpublic boolean removeXacl(ARA axacl)
removeXacl
in interface AdvanceReservation
axacl
- the com.sun.grid.jgdi.configuration.ARA attribute which should be
removedtrue
if the com.sun.grid.jgdi.configuration.ARA attribute has been removedpublic java.util.List<ARA> getXaclList()
getXaclList
in interface AdvanceReservation
public int getXaclCount()
getXaclCount
in interface AdvanceReservation
public ARA getXacl(int index)
getXacl
in interface AdvanceReservation
index
- the index of the com.sun.grid.jgdi.configuration.ARA attribute which should be
removedpublic boolean isSetXacl()
isSetXacl
in interface AdvanceReservation
true
if the xacl attribute is setpublic boolean isSetType()
isSetType
in interface AdvanceReservation
true
if the type attribute is setpublic void setType(int aType)
setType
in interface AdvanceReservation
aType
- the new value for the type attributepublic int getType()
getType
in interface AdvanceReservation
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 AdvanceReservation
public java.lang.String getStateAsString()
getStateAsString
in interface AdvanceReservation
Copyright © 2007 Sun Microsystems, Inc. All rights reserved.