Package org.opennms.report.configuration
Class GroupXSet
- java.lang.Object
-
- org.opennms.report.configuration.GroupXSet
-
- All Implemented Interfaces:
Serializable
public class GroupXSet extends Object implements Serializable
Class 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()Enumeration<NodeSet>enumerateNodeSet()Method enumerateNodeSet.booleanequals(Object other)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.List<NodeSet>getNodeSetCollection()Method getNodeSetCollection.Returns a reference to 'nodeSetList'.intgetNodeSetCount()Method getNodeSetCount.IntegergetNodesMatching()Returns the value of field 'nodesMatching'.IntegergetNodesWithoutconfigurationAtAll()Returns the value of field 'nodesWithoutconfigurationAtAll'.IntegergetNodesWithoutconfigurationAtReportDate()Returns the value of field 'nodesWithoutconfigurationAtReportDate'.IntegergetTotalNodes()Returns the value of field 'totalNodes'.inthashCode()booleanhasNodesMatching()Method hasNodesMatching.booleanhasNodesWithoutconfigurationAtAll()Method hasNodesWithoutconfigurationAtAll.booleanhasNodesWithoutconfigurationAtReportDate()Method hasNodesWithoutconfigurationAtReportDate.booleanhasTotalNodes()Method hasTotalNodes.Iterator<NodeSet>iterateNodeSet()Method iterateNodeSet.voidremoveAllNodeSet()booleanremoveNodeSet(NodeSet vNodeSet)Method removeNodeSet.NodeSetremoveNodeSetAt(int index)Method removeNodeSetAt.voidsetGroupXSetName(String groupXSetName)Sets the value of field 'groupXSetName'.voidsetNodeSet(int index, NodeSet vNodeSet)voidsetNodeSet(List<NodeSet> vNodeSetList)Sets the value of 'nodeSetList' by copying the given Vector.voidsetNodeSet(NodeSet[] vNodeSetArray)voidsetNodeSetCollection(List<NodeSet> nodeSetList)Deprecated.voidsetNodesMatching(Integer nodesMatching)Sets the value of field 'nodesMatching'.voidsetNodesWithoutconfigurationAtAll(Integer nodesWithoutconfigurationAtAll)Sets the value of field 'nodesWithoutconfigurationAtAll'.voidsetNodesWithoutconfigurationAtReportDate(Integer nodesWithoutconfigurationAtReportDate)Sets the value of field 'nodesWithoutconfigurationAtReportDate'.voidsetTotalNodes(Integer totalNodes)Sets the value of field 'totalNodes'.
-
-
-
Method Detail
-
addNodeSet
public void addNodeSet(NodeSet vNodeSet) throws IndexOutOfBoundsException
- Parameters:
vNodeSet-- Throws:
IndexOutOfBoundsException- if the index given is outside the bounds of the collection
-
addNodeSet
public void addNodeSet(int index, NodeSet vNodeSet) throws IndexOutOfBoundsException- Parameters:
index-vNodeSet-- Throws:
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 Enumeration<NodeSet> enumerateNodeSet()
Method enumerateNodeSet.- Returns:
- an Enumeration over all possible elements of this collection
-
getGroupXSetName
public String getGroupXSetName()
Returns the value of field 'groupXSetName'.- Returns:
- the value of field 'GroupXSetName'.
-
getNodeSet
public NodeSet getNodeSet(int index) throws IndexOutOfBoundsException
Method getNodeSet.- Parameters:
index-- Returns:
- the value of the NodeSet at the given index
- Throws:
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 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 Integer getNodesMatching()
Returns the value of field 'nodesMatching'.- Returns:
- the value of field 'NodesMatching'.
-
getNodesWithoutconfigurationAtAll
public Integer getNodesWithoutconfigurationAtAll()
Returns the value of field 'nodesWithoutconfigurationAtAll'.- Returns:
- the value of field 'NodesWithoutconfigurationAtAll'.
-
getNodesWithoutconfigurationAtReportDate
public Integer getNodesWithoutconfigurationAtReportDate()
Returns the value of field 'nodesWithoutconfigurationAtReportDate'.- Returns:
- the value of field 'NodesWithoutconfigurationAtReportDate'.
-
getTotalNodes
public 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 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(String groupXSetName)
Sets the value of field 'groupXSetName'.- Parameters:
groupXSetName- the value of field 'groupXSetName'.
-
setNodeSet
public void setNodeSet(int index, NodeSet vNodeSet) throws IndexOutOfBoundsException- Parameters:
index-vNodeSet-- Throws:
IndexOutOfBoundsException- if the index given is outside the bounds of the collection
-
setNodeSet
public void setNodeSet(NodeSet[] vNodeSetArray)
- Parameters:
vNodeSetArray-
-
setNodeSet
public void setNodeSet(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(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(Integer nodesMatching)
Sets the value of field 'nodesMatching'.- Parameters:
nodesMatching- the value of field 'nodesMatching'.
-
setNodesWithoutconfigurationAtAll
public void setNodesWithoutconfigurationAtAll(Integer nodesWithoutconfigurationAtAll)
Sets the value of field 'nodesWithoutconfigurationAtAll'.- Parameters:
nodesWithoutconfigurationAtAll- the value of field 'nodesWithoutconfigurationAtAll'.
-
setNodesWithoutconfigurationAtReportDate
public void setNodesWithoutconfigurationAtReportDate(Integer nodesWithoutconfigurationAtReportDate)
Sets the value of field 'nodesWithoutconfigurationAtReportDate'.- Parameters:
nodesWithoutconfigurationAtReportDate- the value of field 'nodesWithoutconfigurationAtReportDate'.
-
setTotalNodes
public void setTotalNodes(Integer totalNodes)
Sets the value of field 'totalNodes'.- Parameters:
totalNodes- the value of field 'totalNodes'.
-
-