public class HostgroupImpl extends GEObjectImpl implements Hostgroup
Warning: The HostgroupImpl class will not be compatible with future Sun™ Grid Engine releases.
| Constructor and Description |
|---|
HostgroupImpl()
Create a new instance of HostgroupImpl.
|
HostgroupImpl(boolean initWithDefaultValues)
Create a new instanceof
|
HostgroupImpl(java.lang.String name)
Create a new instance of HostgroupImpl
|
| Modifier and Type | Method and Description |
|---|---|
void |
addHost(java.lang.String ahost)
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 |
getHost(int index)
Get a java.lang.String attribute at an index.
|
int |
getHostCount()
Get the number of java.lang.String attributes.
|
java.util.List<java.lang.String> |
getHostList()
Get a unmodifiable list of all java.lang.String attributes.
|
java.lang.String |
getName()
Get the value of the name attribute.
|
boolean |
isSetHost()
Determine if the host attribute is set
|
boolean |
isSetName()
Determine if the name attribute is set
|
void |
removeAllHost()
Remove all java.lang.String attributes.
|
java.lang.String |
removeHost(int index)
Remote a java.lang.String attribute at an index.
|
boolean |
removeHost(java.lang.String ahost)
Remote a specific java.lang.String attribute.
|
void |
setHost(int index,
java.lang.String ahost)
Set a java.lang.String attribute.
|
void |
setName(java.lang.String aName)
Set the name attribute.
|
java.lang.String |
toString() |
getParent, getPathName, getRoot, setParentpublic HostgroupImpl()
public HostgroupImpl(boolean initWithDefaultValues)
initWithDefaultValues - if true the new instance will
be initialized with the default values as defined
in the cull definition.public HostgroupImpl(java.lang.String name)
public boolean isSetName()
public void setName(java.lang.String aName)
setName in interface HostgroupsetName in class GEObjectImplaName - the new value for the name attributepublic java.lang.String getName()
public void addHost(java.lang.String ahost)
public void setHost(int index,
java.lang.String ahost)
public void removeAllHost()
removeAllHost in interface Hostgrouppublic java.lang.String removeHost(int index)
removeHost in interface Hostgroupindex - the index of the java.lang.String attribute which should be
removednull if
no attribute at this index is storedpublic boolean removeHost(java.lang.String ahost)
removeHost in interface Hostgroupahost - the java.lang.String attribute which should be
removedtrue if the java.lang.String attribute has been removedpublic java.util.List<java.lang.String> getHostList()
getHostList in interface Hostgrouppublic int getHostCount()
getHostCount in interface Hostgrouppublic java.lang.String getHost(int index)
public boolean isSetHost()
public 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.ObjectCopyright © 2007 Sun Microsystems, Inc. All rights reserved.