Package org.opennms.report.inventory
Class GroupSet
- java.lang.Object
-
- org.opennms.report.inventory.GroupSet
-
- All Implemented Interfaces:
Serializable
public class GroupSet extends Object implements Serializable
Class 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()Enumeration<Nbisinglenode>enumerateNbisinglenode()Method enumerateNbisinglenode.booleanequals(Object other)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.List<Nbisinglenode>getNbisinglenodeCollection()Method getNbisinglenodeCollection.Returns a reference to 'nbisinglenodeList'.intgetNbisinglenodeCount()Method getNbisinglenodeCount.IntegergetNodesMatching()Returns the value of field 'nodesMatching'.IntegergetNodesWithoutinventoryAtAll()Returns the value of field 'nodesWithoutinventoryAtAll'.IntegergetNodesWithoutinventoryAtReportDate()Returns the value of field 'nodesWithoutinventoryAtReportDate'.IntegergetTotalNodes()Returns the value of field 'totalNodes'.inthashCode()booleanhasNodesMatching()Method hasNodesMatching.booleanhasNodesWithoutinventoryAtAll()Method hasNodesWithoutinventoryAtAll.booleanhasNodesWithoutinventoryAtReportDate()Method hasNodesWithoutinventoryAtReportDate.booleanhasTotalNodes()Method hasTotalNodes.Iterator<Nbisinglenode>iterateNbisinglenode()Method iterateNbisinglenode.voidremoveAllNbisinglenode()booleanremoveNbisinglenode(Nbisinglenode vNbisinglenode)Method removeNbisinglenode.NbisinglenoderemoveNbisinglenodeAt(int index)Method removeNbisinglenodeAt.voidsetGroupSetName(String groupSetName)Sets the value of field 'groupSetName'.voidsetNbisinglenode(int index, Nbisinglenode vNbisinglenode)voidsetNbisinglenode(List<Nbisinglenode> vNbisinglenodeList)Sets the value of 'nbisinglenodeList' by copying the given Vector.voidsetNbisinglenode(Nbisinglenode[] vNbisinglenodeArray)voidsetNbisinglenodeCollection(List<Nbisinglenode> nbisinglenodeList)Deprecated.voidsetNodesMatching(Integer nodesMatching)Sets the value of field 'nodesMatching'.voidsetNodesWithoutinventoryAtAll(Integer nodesWithoutinventoryAtAll)Sets the value of field 'nodesWithoutinventoryAtAll'.voidsetNodesWithoutinventoryAtReportDate(Integer nodesWithoutinventoryAtReportDate)Sets the value of field 'nodesWithoutinventoryAtReportDate'.voidsetTotalNodes(Integer totalNodes)Sets the value of field 'totalNodes'.
-
-
-
Method Detail
-
addNbisinglenode
public void addNbisinglenode(Nbisinglenode vNbisinglenode) throws IndexOutOfBoundsException
- Parameters:
vNbisinglenode-- Throws:
IndexOutOfBoundsException- if the index given is outside the bounds of the collection
-
addNbisinglenode
public void addNbisinglenode(int index, Nbisinglenode vNbisinglenode) throws IndexOutOfBoundsException- Parameters:
index-vNbisinglenode-- Throws:
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 Enumeration<Nbisinglenode> enumerateNbisinglenode()
Method enumerateNbisinglenode.- Returns:
- an Enumeration over all possible elements of this collection
-
getGroupSetName
public String getGroupSetName()
Returns the value of field 'groupSetName'.- Returns:
- the value of field 'GroupSetName'.
-
getNbisinglenode
public Nbisinglenode getNbisinglenode(int index) throws IndexOutOfBoundsException
Method getNbisinglenode.- Parameters:
index-- Returns:
- the value of the Nbisinglenode at the given index
- Throws:
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 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 Integer getNodesMatching()
Returns the value of field 'nodesMatching'.- Returns:
- the value of field 'NodesMatching'.
-
getNodesWithoutinventoryAtAll
public Integer getNodesWithoutinventoryAtAll()
Returns the value of field 'nodesWithoutinventoryAtAll'.- Returns:
- the value of field 'NodesWithoutinventoryAtAll'.
-
getNodesWithoutinventoryAtReportDate
public Integer getNodesWithoutinventoryAtReportDate()
Returns the value of field 'nodesWithoutinventoryAtReportDate'.- Returns:
- the value of field 'NodesWithoutinventoryAtReportDate'.
-
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
-
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 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(String groupSetName)
Sets the value of field 'groupSetName'.- Parameters:
groupSetName- the value of field 'groupSetName'.
-
setNbisinglenode
public void setNbisinglenode(int index, Nbisinglenode vNbisinglenode) throws IndexOutOfBoundsException- Parameters:
index-vNbisinglenode-- Throws:
IndexOutOfBoundsException- if the index given is outside the bounds of the collection
-
setNbisinglenode
public void setNbisinglenode(Nbisinglenode[] vNbisinglenodeArray)
- Parameters:
vNbisinglenodeArray-
-
setNbisinglenode
public void setNbisinglenode(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(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(Integer nodesMatching)
Sets the value of field 'nodesMatching'.- Parameters:
nodesMatching- the value of field 'nodesMatching'.
-
setNodesWithoutinventoryAtAll
public void setNodesWithoutinventoryAtAll(Integer nodesWithoutinventoryAtAll)
Sets the value of field 'nodesWithoutinventoryAtAll'.- Parameters:
nodesWithoutinventoryAtAll- the value of field 'nodesWithoutinventoryAtAll'.
-
setNodesWithoutinventoryAtReportDate
public void setNodesWithoutinventoryAtReportDate(Integer nodesWithoutinventoryAtReportDate)
Sets the value of field 'nodesWithoutinventoryAtReportDate'.- Parameters:
nodesWithoutinventoryAtReportDate- the value of field 'nodesWithoutinventoryAtReportDate'.
-
setTotalNodes
public void setTotalNodes(Integer totalNodes)
Sets the value of field 'totalNodes'.- Parameters:
totalNodes- the value of field 'totalNodes'.
-
-