public class ConfigurationImpl extends GEObjectImpl implements Configuration
Warning: The ConfigurationImpl class will not be compatible with future Sun™ Grid Engine releases.
| Constructor and Description |
|---|
ConfigurationImpl()
Create a new instance of ConfigurationImpl.
|
ConfigurationImpl(boolean initWithDefaultValues)
Create a new instanceof
|
ConfigurationImpl(java.lang.String name)
Create a new instance of ConfigurationImpl
|
| Modifier and Type | Method and Description |
|---|---|
void |
addEntries(ConfigurationElement aentries)
Add a com.sun.grid.jgdi.configuration.ConfigurationElement 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) |
ConfigurationElement |
getEntries(int index)
Get a com.sun.grid.jgdi.configuration.ConfigurationElement attribute at an index.
|
int |
getEntriesCount()
Get the number of com.sun.grid.jgdi.configuration.ConfigurationElement attributes.
|
java.util.List<ConfigurationElement> |
getEntriesList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.ConfigurationElement attributes.
|
java.lang.String |
getName()
Get the value of the name attribute.
|
boolean |
isSetEntries()
Determine if the entries attribute is set
|
boolean |
isSetName()
Determine if the name attribute is set
|
void |
removeAllEntries()
Remove all com.sun.grid.jgdi.configuration.ConfigurationElement attributes.
|
boolean |
removeEntries(ConfigurationElement aentries)
Remote a specific com.sun.grid.jgdi.configuration.ConfigurationElement attribute.
|
ConfigurationElement |
removeEntries(int index)
Remote a com.sun.grid.jgdi.configuration.ConfigurationElement attribute at an index.
|
void |
setEntries(int index,
ConfigurationElement aentries)
Set a com.sun.grid.jgdi.configuration.ConfigurationElement attribute.
|
void |
setName(java.lang.String aName)
Set the name attribute.
|
java.lang.String |
toString() |
getParent, getPathName, getRoot, setParentpublic ConfigurationImpl()
public ConfigurationImpl(boolean initWithDefaultValues)
initWithDefaultValues - if true the new instance will
be initialized with the default values as defined
in the cull definition.public ConfigurationImpl(java.lang.String name)
public boolean isSetName()
isSetName in interface Configurationtrue if the name attribute is setpublic void setName(java.lang.String aName)
setName in interface ConfigurationsetName in class GEObjectImplaName - the new value for the name attributepublic java.lang.String getName()
getName in interface ConfigurationgetName in interface GEObjectgetName in class GEObjectImplpublic void addEntries(ConfigurationElement aentries)
addEntries in interface Configurationaentries - the new com.sun.grid.jgdi.configuration.ConfigurationElement attributepublic void setEntries(int index,
ConfigurationElement aentries)
setEntries in interface Configurationindex - index of the com.sun.grid.jgdi.configuration.ConfigurationElement attributeaentries - the new com.sun.grid.jgdi.configuration.ConfigurationElement attributepublic void removeAllEntries()
removeAllEntries in interface Configurationpublic ConfigurationElement removeEntries(int index)
removeEntries in interface Configurationindex - the index of the com.sun.grid.jgdi.configuration.ConfigurationElement attribute which should be
removednull if
no attribute at this index is storedpublic boolean removeEntries(ConfigurationElement aentries)
removeEntries in interface Configurationaentries - the com.sun.grid.jgdi.configuration.ConfigurationElement attribute which should be
removedtrue if the com.sun.grid.jgdi.configuration.ConfigurationElement attribute has been removedpublic java.util.List<ConfigurationElement> getEntriesList()
getEntriesList in interface Configurationpublic int getEntriesCount()
getEntriesCount in interface Configurationpublic ConfigurationElement getEntries(int index)
getEntries in interface Configurationindex - the index of the com.sun.grid.jgdi.configuration.ConfigurationElement attribute which should be
removedpublic boolean isSetEntries()
isSetEntries in interface Configurationtrue if the entries attribute is setpublic 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 ConfigurationCopyright © 2007 Sun Microsystems, Inc. All rights reserved.