|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.rws.GroupXSet
public class GroupXSet
Class GroupXSet.
| Constructor Summary | |
|---|---|
GroupXSet()
|
|
| Method Summary | |
|---|---|
void |
addNodeSet(int index,
NodeSet vNodeSet)
|
void |
addNodeSet(NodeSet vNodeSet)
|
void |
deleteTotalNodes()
|
Enumeration<NodeSet> |
enumerateNodeSet()
Method enumerateNodeSet. |
NodeSet[] |
getNodeSet()
Method getNodeSet.Returns the contents of the collection in an Array. |
NodeSet |
getNodeSet(int index)
Method getNodeSet. |
List<NodeSet> |
getNodeSetCollection()
Method getNodeSetCollection.Returns a reference to '_nodeSetList'. |
int |
getNodeSetCount()
Method getNodeSetCount. |
int |
getTotalNodes()
Returns the value of field 'totalNodes'. |
boolean |
hasTotalNodes()
Method hasTotalNodes. |
boolean |
isValid()
Method isValid. |
Iterator<NodeSet> |
iterateNodeSet()
Method iterateNodeSet. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllNodeSet()
|
boolean |
removeNodeSet(NodeSet vNodeSet)
Method removeNodeSet. |
NodeSet |
removeNodeSetAt(int index)
Method removeNodeSetAt. |
void |
setNodeSet(int index,
NodeSet vNodeSet)
|
void |
setNodeSet(List<NodeSet> vNodeSetList)
Sets the value of '_nodeSetList' by copying the given Vector. |
void |
setNodeSet(NodeSet[] vNodeSetArray)
|
void |
setNodeSetCollection(List<NodeSet> nodeSetList)
Deprecated. |
void |
setTotalNodes(int totalNodes)
Sets the value of field 'totalNodes'. |
static GroupXSet |
unmarshal(Reader reader)
Method unmarshal. |
void |
validate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GroupXSet()
| Method Detail |
|---|
public void addNodeSet(NodeSet vNodeSet)
throws IndexOutOfBoundsException
vNodeSet -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addNodeSet(int index,
NodeSet vNodeSet)
throws IndexOutOfBoundsException
index - vNodeSet -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void deleteTotalNodes()
public Enumeration<NodeSet> enumerateNodeSet()
public NodeSet getNodeSet(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic NodeSet[] getNodeSet()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<NodeSet> getNodeSetCollection()
public int getNodeSetCount()
public int getTotalNodes()
public boolean hasTotalNodes()
public boolean isValid()
public Iterator<NodeSet> iterateNodeSet()
public void marshal(Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void marshal(ContentHandler handler)
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
IOException - if an IOException occurs during
marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshalingpublic void removeAllNodeSet()
public boolean removeNodeSet(NodeSet vNodeSet)
vNodeSet -
public NodeSet removeNodeSetAt(int index)
index -
public void setNodeSet(int index,
NodeSet vNodeSet)
throws IndexOutOfBoundsException
index - vNodeSet -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setNodeSet(NodeSet[] vNodeSetArray)
vNodeSetArray - public void setNodeSet(List<NodeSet> vNodeSetList)
vNodeSetList - the Vector to copy.public void setNodeSetCollection(List<NodeSet> nodeSetList)
nodeSetList - the Vector to set.public void setTotalNodes(int totalNodes)
totalNodes - the value of field 'totalNodes'.
public static GroupXSet unmarshal(Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||