Package org.opennms.report.inventory
Class GroupSet
- java.lang.Object
-
- org.opennms.report.inventory.GroupSet
-
- All Implemented Interfaces:
java.io.Serializable
public class GroupSet extends java.lang.Object implements java.io.SerializableClass GroupSet.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GroupSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddNbisinglenode(int index, Nbisinglenode vNbisinglenode)voidaddNbisinglenode(Nbisinglenode vNbisinglenode)voiddeleteNodesMatching()voiddeleteNodesWithoutinventoryAtAll()voiddeleteNodesWithoutinventoryAtReportDate()voiddeleteTotalNodes()java.util.Enumeration<Nbisinglenode>enumerateNbisinglenode()Method enumerateNbisinglenode.booleanequals(java.lang.Object other)java.lang.StringgetGroupSetName()Returns the value of field 'groupSetName'.Nbisinglenode[]getNbisinglenode()Method getNbisinglenode.Returns the contents of the collection in an Array.NbisinglenodegetNbisinglenode(int index)Method getNbisinglenode.java.util.List<Nbisinglenode>getNbisinglenodeCollection()Method getNbisinglenodeCollection.Returns a reference to 'nbisinglenodeList'.intgetNbisinglenodeCount()Method getNbisinglenodeCount.java.lang.IntegergetNodesMatching()Returns the value of field 'nodesMatching'.java.lang.IntegergetNodesWithoutinventoryAtAll()Returns the value of field 'nodesWithoutinventoryAtAll'.java.lang.IntegergetNodesWithoutinventoryAtReportDate()Returns the value of field 'nodesWithoutinventoryAtReportDate'.java.lang.IntegergetTotalNodes()Returns the value of field 'totalNodes'.inthashCode()booleanhasNodesMatching()Method hasNodesMatching.booleanhasNodesWithoutinventoryAtAll()Method hasNodesWithoutinventoryAtAll.booleanhasNodesWithoutinventoryAtReportDate()Method hasNodesWithoutinventoryAtReportDate.booleanhasTotalNodes()Method hasTotalNodes.java.util.Iterator<Nbisinglenode>iterateNbisinglenode()Method iterateNbisinglenode.voidremoveAllNbisinglenode()booleanremoveNbisinglenode(Nbisinglenode vNbisinglenode)Method removeNbisinglenode.NbisinglenoderemoveNbisinglenodeAt(int index)Method removeNbisinglenodeAt.voidsetGroupSetName(java.lang.String groupSetName)Sets the value of field 'groupSetName'.voidsetNbisinglenode(int index, Nbisinglenode vNbisinglenode)voidsetNbisinglenode(java.util.List<Nbisinglenode> vNbisinglenodeList)Sets the value of 'nbisinglenodeList' by copying the given Vector.voidsetNbisinglenode(Nbisinglenode[] vNbisinglenodeArray)voidsetNbisinglenodeCollection(java.util.List<Nbisinglenode> nbisinglenodeList)Deprecated.voidsetNodesMatching(java.lang.Integer nodesMatching)Sets the value of field 'nodesMatching'.voidsetNodesWithoutinventoryAtAll(java.lang.Integer nodesWithoutinventoryAtAll)Sets the value of field 'nodesWithoutinventoryAtAll'.voidsetNodesWithoutinventoryAtReportDate(java.lang.Integer nodesWithoutinventoryAtReportDate)Sets the value of field 'nodesWithoutinventoryAtReportDate'.voidsetTotalNodes(java.lang.Integer totalNodes)Sets the value of field 'totalNodes'.
-
-
-
Method Detail
-
addNbisinglenode
public void addNbisinglenode(Nbisinglenode vNbisinglenode) throws java.lang.IndexOutOfBoundsException
- Parameters:
vNbisinglenode-- Throws:
java.lang.IndexOutOfBoundsException- if the index given is outside the bounds of the collection
-
addNbisinglenode
public void addNbisinglenode(int index, Nbisinglenode vNbisinglenode) throws java.lang.IndexOutOfBoundsException- Parameters:
index-vNbisinglenode-- Throws:
java.lang.IndexOutOfBoundsException- if the index given is outside the bounds of the collection
-
deleteNodesMatching
public void deleteNodesMatching()
-
deleteNodesWithoutinventoryAtAll
public void deleteNodesWithoutinventoryAtAll()
-
deleteNodesWithoutinventoryAtReportDate
public void deleteNodesWithoutinventoryAtReportDate()
-
deleteTotalNodes
public void deleteTotalNodes()
-
enumerateNbisinglenode
public java.util.Enumeration<Nbisinglenode> enumerateNbisinglenode()
Method enumerateNbisinglenode.- Returns:
- an Enumeration over all possible elements of this collection
-
getGroupSetName
public java.lang.String getGroupSetName()
Returns the value of field 'groupSetName'.- Returns:
- the value of field 'GroupSetName'.
-
getNbisinglenode
public Nbisinglenode getNbisinglenode(int index) throws java.lang.IndexOutOfBoundsException
Method getNbisinglenode.- Parameters:
index-- Returns:
- the value of the Nbisinglenode at the given index
- Throws:
java.lang.IndexOutOfBoundsException- if the index given is outside the bounds of the collection
-
getNbisinglenode
public Nbisinglenode[] getNbisinglenode()
Method getNbisinglenode.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
-
getNbisinglenodeCollection
public java.util.List<Nbisinglenode> getNbisinglenodeCollection()
Method getNbisinglenodeCollection.Returns a reference to 'nbisinglenodeList'. No type checking is performed on any modifications to the Vector.- Returns:
- a reference to the Vector backing this class
-
getNbisinglenodeCount
public int getNbisinglenodeCount()
Method getNbisinglenodeCount.- Returns:
- the size of this collection
-
getNodesMatching
public java.lang.Integer getNodesMatching()
Returns the value of field 'nodesMatching'.- Returns:
- the value of field 'NodesMatching'.
-
getNodesWithoutinventoryAtAll
public java.lang.Integer getNodesWithoutinventoryAtAll()
Returns the value of field 'nodesWithoutinventoryAtAll'.- Returns:
- the value of field 'NodesWithoutinventoryAtAll'.
-
getNodesWithoutinventoryAtReportDate
public java.lang.Integer getNodesWithoutinventoryAtReportDate()
Returns the value of field 'nodesWithoutinventoryAtReportDate'.- Returns:
- the value of field 'NodesWithoutinventoryAtReportDate'.
-
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
-
hasNodesWithoutinventoryAtAll
public boolean hasNodesWithoutinventoryAtAll()
Method hasNodesWithoutinventoryAtAll.- Returns:
- true if at least one NodesWithoutinventoryAtAll has been added
-
hasNodesWithoutinventoryAtReportDate
public boolean hasNodesWithoutinventoryAtReportDate()
Method hasNodesWithoutinventoryAtReportDate.- Returns:
- true if at least one NodesWithoutinventoryAtReportDate has been adde
-
hasTotalNodes
public boolean hasTotalNodes()
Method hasTotalNodes.- Returns:
- true if at least one TotalNodes has been added
-
iterateNbisinglenode
public java.util.Iterator<Nbisinglenode> iterateNbisinglenode()
Method iterateNbisinglenode.- Returns:
- an Iterator over all possible elements in this collection
-
removeAllNbisinglenode
public void removeAllNbisinglenode()
-
removeNbisinglenode
public boolean removeNbisinglenode(Nbisinglenode vNbisinglenode)
Method removeNbisinglenode.- Parameters:
vNbisinglenode-- Returns:
- true if the object was removed from the collection.
-
removeNbisinglenodeAt
public Nbisinglenode removeNbisinglenodeAt(int index)
Method removeNbisinglenodeAt.- Parameters:
index-- Returns:
- the element removed from the collection
-
setGroupSetName
public void setGroupSetName(java.lang.String groupSetName)
Sets the value of field 'groupSetName'.- Parameters:
groupSetName- the value of field 'groupSetName'.
-
setNbisinglenode
public void setNbisinglenode(int index, Nbisinglenode vNbisinglenode) throws java.lang.IndexOutOfBoundsException- Parameters:
index-vNbisinglenode-- Throws:
java.lang.IndexOutOfBoundsException- if the index given is outside the bounds of the collection
-
setNbisinglenode
public void setNbisinglenode(Nbisinglenode[] vNbisinglenodeArray)
- Parameters:
vNbisinglenodeArray-
-
setNbisinglenode
public void setNbisinglenode(java.util.List<Nbisinglenode> vNbisinglenodeList)
Sets the value of 'nbisinglenodeList' by copying the given Vector. All elements will be checked for type safety.- Parameters:
vNbisinglenodeList- the Vector to copy.
-
setNbisinglenodeCollection
public void setNbisinglenodeCollection(java.util.List<Nbisinglenode> nbisinglenodeList)
Deprecated.Sets the value of 'nbisinglenodeList' by setting it to the given Vector. No type checking is performed.- Parameters:
nbisinglenodeList- 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'.
-
setNodesWithoutinventoryAtAll
public void setNodesWithoutinventoryAtAll(java.lang.Integer nodesWithoutinventoryAtAll)
Sets the value of field 'nodesWithoutinventoryAtAll'.- Parameters:
nodesWithoutinventoryAtAll- the value of field 'nodesWithoutinventoryAtAll'.
-
setNodesWithoutinventoryAtReportDate
public void setNodesWithoutinventoryAtReportDate(java.lang.Integer nodesWithoutinventoryAtReportDate)
Sets the value of field 'nodesWithoutinventoryAtReportDate'.- Parameters:
nodesWithoutinventoryAtReportDate- the value of field 'nodesWithoutinventoryAtReportDate'.
-
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
-
-