Package org.opennms.report.configuration
Class GroupXSet
- java.lang.Object
-
- org.opennms.report.configuration.GroupXSet
-
- All Implemented Interfaces:
java.io.Serializable
public class GroupXSet extends java.lang.Object implements java.io.SerializableClass GroupXSet.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GroupXSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddNodeSet(int index, NodeSet vNodeSet)voidaddNodeSet(NodeSet vNodeSet)voiddeleteNodesMatching()voiddeleteNodesWithoutconfigurationAtAll()voiddeleteNodesWithoutconfigurationAtReportDate()voiddeleteTotalNodes()java.util.Enumeration<NodeSet>enumerateNodeSet()Method enumerateNodeSet.booleanequals(java.lang.Object other)java.lang.StringgetGroupXSetName()Returns the value of field 'groupXSetName'.NodeSet[]getNodeSet()Method getNodeSet.Returns the contents of the collection in an Array.NodeSetgetNodeSet(int index)Method getNodeSet.java.util.List<NodeSet>getNodeSetCollection()Method getNodeSetCollection.Returns a reference to 'nodeSetList'.intgetNodeSetCount()Method getNodeSetCount.java.lang.IntegergetNodesMatching()Returns the value of field 'nodesMatching'.java.lang.IntegergetNodesWithoutconfigurationAtAll()Returns the value of field 'nodesWithoutconfigurationAtAll'.java.lang.IntegergetNodesWithoutconfigurationAtReportDate()Returns the value of field 'nodesWithoutconfigurationAtReportDate'.java.lang.IntegergetTotalNodes()Returns the value of field 'totalNodes'.inthashCode()booleanhasNodesMatching()Method hasNodesMatching.booleanhasNodesWithoutconfigurationAtAll()Method hasNodesWithoutconfigurationAtAll.booleanhasNodesWithoutconfigurationAtReportDate()Method hasNodesWithoutconfigurationAtReportDate.booleanhasTotalNodes()Method hasTotalNodes.java.util.Iterator<NodeSet>iterateNodeSet()Method iterateNodeSet.voidremoveAllNodeSet()booleanremoveNodeSet(NodeSet vNodeSet)Method removeNodeSet.NodeSetremoveNodeSetAt(int index)Method removeNodeSetAt.voidsetGroupXSetName(java.lang.String groupXSetName)Sets the value of field 'groupXSetName'.voidsetNodeSet(int index, NodeSet vNodeSet)voidsetNodeSet(java.util.List<NodeSet> vNodeSetList)Sets the value of 'nodeSetList' by copying the given Vector.voidsetNodeSet(NodeSet[] vNodeSetArray)voidsetNodeSetCollection(java.util.List<NodeSet> nodeSetList)Deprecated.voidsetNodesMatching(java.lang.Integer nodesMatching)Sets the value of field 'nodesMatching'.voidsetNodesWithoutconfigurationAtAll(java.lang.Integer nodesWithoutconfigurationAtAll)Sets the value of field 'nodesWithoutconfigurationAtAll'.voidsetNodesWithoutconfigurationAtReportDate(java.lang.Integer nodesWithoutconfigurationAtReportDate)Sets the value of field 'nodesWithoutconfigurationAtReportDate'.voidsetTotalNodes(java.lang.Integer totalNodes)Sets the value of field 'totalNodes'.
-
-
-
Method Detail
-
addNodeSet
public void addNodeSet(NodeSet vNodeSet) throws java.lang.IndexOutOfBoundsException
- Parameters:
vNodeSet-- Throws:
java.lang.IndexOutOfBoundsException- if the index given is outside the bounds of the collection
-
addNodeSet
public void addNodeSet(int index, NodeSet vNodeSet) throws java.lang.IndexOutOfBoundsException- Parameters:
index-vNodeSet-- Throws:
java.lang.IndexOutOfBoundsException- if the index given is outside the bounds of the collection
-
deleteNodesMatching
public void deleteNodesMatching()
-
deleteNodesWithoutconfigurationAtAll
public void deleteNodesWithoutconfigurationAtAll()
-
deleteNodesWithoutconfigurationAtReportDate
public void deleteNodesWithoutconfigurationAtReportDate()
-
deleteTotalNodes
public void deleteTotalNodes()
-
enumerateNodeSet
public java.util.Enumeration<NodeSet> enumerateNodeSet()
Method enumerateNodeSet.- Returns:
- an Enumeration over all possible elements of this collection
-
getGroupXSetName
public java.lang.String getGroupXSetName()
Returns the value of field 'groupXSetName'.- Returns:
- the value of field 'GroupXSetName'.
-
getNodeSet
public NodeSet getNodeSet(int index) throws java.lang.IndexOutOfBoundsException
Method getNodeSet.- Parameters:
index-- Returns:
- the value of the NodeSet at the given index
- Throws:
java.lang.IndexOutOfBoundsException- if the index given is outside the bounds of the collection
-
getNodeSet
public NodeSet[] getNodeSet()
Method getNodeSet.Returns the contents of the collection in an Array.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.
- Returns:
- this collection as an Array
-
getNodeSetCollection
public java.util.List<NodeSet> getNodeSetCollection()
Method getNodeSetCollection.Returns a reference to 'nodeSetList'. No type checking is performed on any modifications to the Vector.- Returns:
- a reference to the Vector backing this class
-
getNodeSetCount
public int getNodeSetCount()
Method getNodeSetCount.- Returns:
- the size of this collection
-
getNodesMatching
public java.lang.Integer getNodesMatching()
Returns the value of field 'nodesMatching'.- Returns:
- the value of field 'NodesMatching'.
-
getNodesWithoutconfigurationAtAll
public java.lang.Integer getNodesWithoutconfigurationAtAll()
Returns the value of field 'nodesWithoutconfigurationAtAll'.- Returns:
- the value of field 'NodesWithoutconfigurationAtAll'.
-
getNodesWithoutconfigurationAtReportDate
public java.lang.Integer getNodesWithoutconfigurationAtReportDate()
Returns the value of field 'nodesWithoutconfigurationAtReportDate'.- Returns:
- the value of field 'NodesWithoutconfigurationAtReportDate'.
-
getTotalNodes
public java.lang.Integer getTotalNodes()
Returns the value of field 'totalNodes'.- Returns:
- the value of field 'TotalNodes'.
-
hasNodesMatching
public boolean hasNodesMatching()
Method hasNodesMatching.- Returns:
- true if at least one NodesMatching has been added
-
hasNodesWithoutconfigurationAtAll
public boolean hasNodesWithoutconfigurationAtAll()
Method hasNodesWithoutconfigurationAtAll.- Returns:
- true if at least one NodesWithoutconfigurationAtAll has been added
-
hasNodesWithoutconfigurationAtReportDate
public boolean hasNodesWithoutconfigurationAtReportDate()
Method hasNodesWithoutconfigurationAtReportDate.- Returns:
- true if at least one NodesWithoutconfigurationAtReportDate has been added
-
hasTotalNodes
public boolean hasTotalNodes()
Method hasTotalNodes.- Returns:
- true if at least one TotalNodes has been added
-
iterateNodeSet
public java.util.Iterator<NodeSet> iterateNodeSet()
Method iterateNodeSet.- Returns:
- an Iterator over all possible elements in this collection
-
removeAllNodeSet
public void removeAllNodeSet()
-
removeNodeSet
public boolean removeNodeSet(NodeSet vNodeSet)
Method removeNodeSet.- Parameters:
vNodeSet-- Returns:
- true if the object was removed from the collection.
-
removeNodeSetAt
public NodeSet removeNodeSetAt(int index)
Method removeNodeSetAt.- Parameters:
index-- Returns:
- the element removed from the collection
-
setGroupXSetName
public void setGroupXSetName(java.lang.String groupXSetName)
Sets the value of field 'groupXSetName'.- Parameters:
groupXSetName- the value of field 'groupXSetName'.
-
setNodeSet
public void setNodeSet(int index, NodeSet vNodeSet) throws java.lang.IndexOutOfBoundsException- Parameters:
index-vNodeSet-- Throws:
java.lang.IndexOutOfBoundsException- if the index given is outside the bounds of the collection
-
setNodeSet
public void setNodeSet(NodeSet[] vNodeSetArray)
- Parameters:
vNodeSetArray-
-
setNodeSet
public void setNodeSet(java.util.List<NodeSet> vNodeSetList)
Sets the value of 'nodeSetList' by copying the given Vector. All elements will be checked for type safety.- Parameters:
vNodeSetList- the Vector to copy.
-
setNodeSetCollection
public void setNodeSetCollection(java.util.List<NodeSet> nodeSetList)
Deprecated.Sets the value of 'nodeSetList' by setting it to the given Vector. No type checking is performed.- Parameters:
nodeSetList- the Vector to set.
-
setNodesMatching
public void setNodesMatching(java.lang.Integer nodesMatching)
Sets the value of field 'nodesMatching'.- Parameters:
nodesMatching- the value of field 'nodesMatching'.
-
setNodesWithoutconfigurationAtAll
public void setNodesWithoutconfigurationAtAll(java.lang.Integer nodesWithoutconfigurationAtAll)
Sets the value of field 'nodesWithoutconfigurationAtAll'.- Parameters:
nodesWithoutconfigurationAtAll- the value of field 'nodesWithoutconfigurationAtAll'.
-
setNodesWithoutconfigurationAtReportDate
public void setNodesWithoutconfigurationAtReportDate(java.lang.Integer nodesWithoutconfigurationAtReportDate)
Sets the value of field 'nodesWithoutconfigurationAtReportDate'.- Parameters:
nodesWithoutconfigurationAtReportDate- the value of field 'nodesWithoutconfigurationAtReportDate'.
-
setTotalNodes
public void setTotalNodes(java.lang.Integer totalNodes)
Sets the value of field 'totalNodes'.- Parameters:
totalNodes- the value of field 'totalNodes'.
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-