com.sun.grid.jgdi.configuration
public class UserSetImpl extends GEObjectImpl implements UserSet
Warning: The UserSetImpl class will not be compatible with future Sun™ Grid Engine releases.
Constructor and Description |
---|
UserSetImpl()
Create a new instance of UserSetImpl.
|
UserSetImpl(boolean initWithDefaultValues)
Create a new instanceof
|
UserSetImpl(java.lang.String name)
Create a new instance of UserSetImpl
|
Modifier and Type | Method and Description |
---|---|
void |
addEntries(java.lang.String aentries)
Add a java.lang.String 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 |
getEntries(int index)
Get a java.lang.String attribute at an index.
|
int |
getEntriesCount()
Get the number of java.lang.String attributes.
|
java.util.List<java.lang.String> |
getEntriesList()
Get a unmodifiable list of all java.lang.String attributes.
|
int |
getFshare()
Get the value of the fshare attribute.
|
int |
getJobCnt()
Get the value of the jobCnt attribute.
|
java.lang.String |
getName()
Get the value of the name attribute.
|
int |
getOticket()
Get the value of the oticket attribute.
|
int |
getType()
Get the value of the type attribute.
|
boolean |
isSetEntries()
Determine if the entries attribute is set
|
boolean |
isSetFshare()
Determine if the fshare attribute is set
|
boolean |
isSetJobCnt()
Determine if the jobCnt attribute is set
|
boolean |
isSetName()
Determine if the name attribute is set
|
boolean |
isSetOticket()
Determine if the oticket attribute is set
|
boolean |
isSetType()
Determine if the type attribute is set
|
void |
removeAllEntries()
Remove all java.lang.String attributes.
|
java.lang.String |
removeEntries(int index)
Remote a java.lang.String attribute at an index.
|
boolean |
removeEntries(java.lang.String aentries)
Remote a specific java.lang.String attribute.
|
void |
setEntries(int index,
java.lang.String aentries)
Set a java.lang.String attribute.
|
void |
setFshare(int aFshare)
Set the fshare attribute.
|
void |
setJobCnt(int aJobCnt)
Set the jobCnt attribute.
|
void |
setName(java.lang.String aName)
Set the name attribute.
|
void |
setOticket(int aOticket)
Set the oticket attribute.
|
void |
setType(int aType)
Set the type attribute.
|
java.lang.String |
toString() |
getParent, getPathName, getRoot, setParent
public UserSetImpl()
public UserSetImpl(boolean initWithDefaultValues)
initWithDefaultValues
- if true
the new instance will
be initialized with the default values as defined
in the cull definition.public UserSetImpl(java.lang.String name)
public boolean isSetName()
public void setName(java.lang.String aName)
setName
in interface UserSet
setName
in class GEObjectImpl
aName
- the new value for the name attributepublic java.lang.String getName()
public boolean isSetType()
public void setType(int aType)
public int getType()
public boolean isSetFshare()
isSetFshare
in interface UserSet
true
if the fshare attribute is setpublic void setFshare(int aFshare)
public int getFshare()
public boolean isSetOticket()
isSetOticket
in interface UserSet
true
if the oticket attribute is setpublic void setOticket(int aOticket)
setOticket
in interface UserSet
aOticket
- the new value for the oticket attributepublic int getOticket()
getOticket
in interface UserSet
public boolean isSetJobCnt()
isSetJobCnt
in interface UserSet
true
if the jobCnt attribute is setpublic void setJobCnt(int aJobCnt)
public int getJobCnt()
public void addEntries(java.lang.String aentries)
addEntries
in interface UserSet
aentries
- the new java.lang.String attributepublic void setEntries(int index, java.lang.String aentries)
setEntries
in interface UserSet
index
- index of the java.lang.String attributeaentries
- the new java.lang.String attributepublic void removeAllEntries()
removeAllEntries
in interface UserSet
public java.lang.String removeEntries(int index)
removeEntries
in interface UserSet
index
- the index of the java.lang.String attribute which should be
removednull
if
no attribute at this index is storedpublic boolean removeEntries(java.lang.String aentries)
removeEntries
in interface UserSet
aentries
- the java.lang.String attribute which should be
removedtrue
if the java.lang.String attribute has been removedpublic java.util.List<java.lang.String> getEntriesList()
getEntriesList
in interface UserSet
public int getEntriesCount()
getEntriesCount
in interface UserSet
public java.lang.String getEntries(int index)
getEntries
in interface UserSet
index
- the index of the java.lang.String attribute which should be
removedpublic boolean isSetEntries()
isSetEntries
in interface UserSet
true
if the entries 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
Copyright © 2007 Sun Microsystems, Inc. All rights reserved.