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, setParent
public 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 Configuration
true
if the name attribute is setpublic void setName(java.lang.String aName)
setName
in interface Configuration
setName
in class GEObjectImpl
aName
- the new value for the name attributepublic java.lang.String getName()
getName
in interface Configuration
getName
in interface GEObject
getName
in class GEObjectImpl
public void addEntries(ConfigurationElement aentries)
addEntries
in interface Configuration
aentries
- the new com.sun.grid.jgdi.configuration.ConfigurationElement attributepublic void setEntries(int index, ConfigurationElement aentries)
setEntries
in interface Configuration
index
- index of the com.sun.grid.jgdi.configuration.ConfigurationElement attributeaentries
- the new com.sun.grid.jgdi.configuration.ConfigurationElement attributepublic void removeAllEntries()
removeAllEntries
in interface Configuration
public ConfigurationElement removeEntries(int index)
removeEntries
in interface Configuration
index
- 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 Configuration
aentries
- 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 Configuration
public int getEntriesCount()
getEntriesCount
in interface Configuration
public ConfigurationElement getEntries(int index)
getEntries
in interface Configuration
index
- the index of the com.sun.grid.jgdi.configuration.ConfigurationElement attribute which should be
removedpublic boolean isSetEntries()
isSetEntries
in interface Configuration
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
public java.lang.String dump()
dump
in interface Configuration
Copyright © 2007 Sun Microsystems, Inc. All rights reserved.