com.sun.grid.jgdi.configuration
public class ProjectImpl extends GEObjectImpl implements Project
Warning: The ProjectImpl class will not be compatible with future Sun™ Grid Engine releases.
Constructor and Description |
---|
ProjectImpl()
Create a new instance of ProjectImpl.
|
ProjectImpl(boolean initWithDefaultValues)
Create a new instanceof
|
ProjectImpl(java.lang.String name)
Create a new instance of ProjectImpl
|
Modifier and Type | Method and Description |
---|---|
void |
addAcl(UserSet aacl)
Add a com.sun.grid.jgdi.configuration.UserSet attribute.
|
void |
addXacl(UserSet axacl)
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) |
UserSet |
getAcl(int index)
Get a com.sun.grid.jgdi.configuration.UserSet attribute at an index.
|
int |
getAclCount()
Get the number of com.sun.grid.jgdi.configuration.UserSet attributes.
|
java.util.List<UserSet> |
getAclList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.UserSet attributes.
|
int |
getFshare()
Get the value of the fshare attribute.
|
java.lang.String |
getName()
Get the value of the name attribute.
|
int |
getOticket()
Get the value of the oticket attribute.
|
UserSet |
getXacl(int index)
Get a com.sun.grid.jgdi.configuration.UserSet attribute at an index.
|
int |
getXaclCount()
Get the number of com.sun.grid.jgdi.configuration.UserSet attributes.
|
java.util.List<UserSet> |
getXaclList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.UserSet attributes.
|
boolean |
isSetAcl()
Determine if the acl attribute is set
|
boolean |
isSetFshare()
Determine if the fshare attribute is set
|
boolean |
isSetName()
Determine if the name attribute is set
|
boolean |
isSetOticket()
Determine if the oticket attribute is set
|
boolean |
isSetXacl()
Determine if the xacl attribute is set
|
UserSet |
removeAcl(int index)
Remote a com.sun.grid.jgdi.configuration.UserSet attribute at an index.
|
boolean |
removeAcl(UserSet aacl)
Remote a specific com.sun.grid.jgdi.configuration.UserSet attribute.
|
void |
removeAllAcl()
Remove all com.sun.grid.jgdi.configuration.UserSet attributes.
|
void |
removeAllXacl()
Remove all com.sun.grid.jgdi.configuration.UserSet attributes.
|
UserSet |
removeXacl(int index)
Remote a com.sun.grid.jgdi.configuration.UserSet attribute at an index.
|
boolean |
removeXacl(UserSet axacl)
Remote a specific com.sun.grid.jgdi.configuration.UserSet attribute.
|
void |
setAcl(int index,
UserSet aacl)
Set a com.sun.grid.jgdi.configuration.UserSet attribute.
|
void |
setFshare(int aFshare)
Set the fshare attribute.
|
void |
setName(java.lang.String aName)
Set the name attribute.
|
void |
setOticket(int aOticket)
Set the oticket attribute.
|
void |
setXacl(int index,
UserSet axacl)
Set a com.sun.grid.jgdi.configuration.UserSet attribute.
|
java.lang.String |
toString() |
getParent, getPathName, getRoot, setParent
public ProjectImpl()
public ProjectImpl(boolean initWithDefaultValues)
initWithDefaultValues
- if true
the new instance will
be initialized with the default values as defined
in the cull definition.public ProjectImpl(java.lang.String name)
public boolean isSetName()
public void setName(java.lang.String aName)
setName
in interface Project
setName
in class GEObjectImpl
aName
- the new value for the name attributepublic java.lang.String getName()
public boolean isSetOticket()
isSetOticket
in interface Project
true
if the oticket attribute is setpublic void setOticket(int aOticket)
setOticket
in interface Project
aOticket
- the new value for the oticket attributepublic int getOticket()
getOticket
in interface Project
public boolean isSetFshare()
isSetFshare
in interface Project
true
if the fshare attribute is setpublic void setFshare(int aFshare)
public int getFshare()
public void addAcl(UserSet aacl)
public void setAcl(int index, UserSet aacl)
public void removeAllAcl()
removeAllAcl
in interface Project
public UserSet removeAcl(int index)
public boolean removeAcl(UserSet aacl)
public java.util.List<UserSet> getAclList()
getAclList
in interface Project
public int getAclCount()
getAclCount
in interface Project
public UserSet getAcl(int index)
public boolean isSetAcl()
public void addXacl(UserSet axacl)
public void setXacl(int index, UserSet axacl)
public void removeAllXacl()
removeAllXacl
in interface Project
public UserSet removeXacl(int index)
removeXacl
in interface Project
index
- the index of the com.sun.grid.jgdi.configuration.UserSet attribute which should be
removednull
if
no attribute at this index is storedpublic boolean removeXacl(UserSet axacl)
removeXacl
in interface Project
axacl
- 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> getXaclList()
getXaclList
in interface Project
public int getXaclCount()
getXaclCount
in interface Project
public UserSet getXacl(int index)
public boolean isSetXacl()
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
Copyright © 2007 Sun Microsystems, Inc. All rights reserved.