Package org.opennms.report.inventory
Class RwsNbinventoryreport
- java.lang.Object
-
- org.opennms.report.inventory.RwsNbinventoryreport
-
- All Implemented Interfaces:
java.io.Serializable
public class RwsNbinventoryreport extends java.lang.Object implements java.io.Serializable
Top-level element for the nodeinventoryinventory.xml configuration file.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RwsNbinventoryreport()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addGroupSet(int index, GroupSet vGroupSet)
void
addGroupSet(GroupSet vGroupSet)
void
deleteGroupsMatching()
void
deleteGroupsWithNodesWithoutinventoryAtAll()
void
deleteGroupsWithNodesWithoutinventoryAtReportDate()
void
deleteGroupWithoutNodes()
void
deleteTotalGroups()
java.util.Enumeration<GroupSet>
enumerateGroupSet()
Method enumerateGroupSet.boolean
equals(java.lang.Object other)
GroupSet[]
getGroupSet()
Method getGroupSet.Returns the contents of the collection in an Array.GroupSet
getGroupSet(int index)
Method getGroupSet.java.util.List<GroupSet>
getGroupSetCollection()
Method getGroupSetCollection.Returns a reference to 'groupSetList'.int
getGroupSetCount()
Method getGroupSetCount.java.lang.Integer
getGroupsMatching()
Returns the value of field 'groupsMatching'.java.lang.Integer
getGroupsWithNodesWithoutinventoryAtAll()
Returns the value of field 'groupsWithNodesWithoutinventoryAtAll'.java.lang.Integer
getGroupsWithNodesWithoutinventoryAtReportDate()
Returns the value of field 'groupsWithNodesWithoutinventoryAtReportDate'.java.lang.Integer
getGroupWithoutNodes()
Returns the value of field 'groupWithoutNodes'.java.lang.String
getReportDate()
Returns the value of field 'reportDate'.java.lang.String
getReportRequestDate()
Returns the value of field 'reportRequestDate'.java.lang.String
getTheField()
Returns the value of field 'theField'.java.lang.Integer
getTotalGroups()
Returns the value of field 'totalGroups'.java.lang.String
getUser()
Returns the value of field 'user'.boolean
hasGroupsMatching()
Method hasGroupsMatching.boolean
hasGroupsWithNodesWithoutinventoryAtAll()
Method hasGroupsWithNodesWithoutinventoryAtAll.boolean
hasGroupsWithNodesWithoutinventoryAtReportDate()
Method hasGroupsWithNodesWithoutinventoryAtReportDate.boolean
hasGroupWithoutNodes()
Method hasGroupWithoutNodes.int
hashCode()
boolean
hasTotalGroups()
Method hasTotalGroups.java.util.Iterator<GroupSet>
iterateGroupSet()
Method iterateGroupSet.void
removeAllGroupSet()
boolean
removeGroupSet(GroupSet vGroupSet)
Method removeGroupSet.GroupSet
removeGroupSetAt(int index)
Method removeGroupSetAt.void
setGroupSet(int index, GroupSet vGroupSet)
void
setGroupSet(java.util.List<GroupSet> vGroupSetList)
Sets the value of 'groupSetList' by copying the given Vector.void
setGroupSet(GroupSet[] vGroupSetArray)
void
setGroupSetCollection(java.util.List<GroupSet> groupSetList)
Deprecated.void
setGroupsMatching(java.lang.Integer groupsMatching)
Sets the value of field 'groupsMatching'.void
setGroupsWithNodesWithoutinventoryAtAll(java.lang.Integer groupsWithNodesWithoutinventoryAtAll)
Sets the value of field 'groupsWithNodesWithoutinventoryAtAll'.void
setGroupsWithNodesWithoutinventoryAtReportDate(java.lang.Integer groupsWithNodesWithoutinventoryAtReportDate)
Sets the value of field 'groupsWithNodesWithoutinventoryAtReportDate'.void
setGroupWithoutNodes(java.lang.Integer groupWithoutNodes)
Sets the value of field 'groupWithoutNodes'.void
setReportDate(java.lang.String reportDate)
Sets the value of field 'reportDate'.void
setReportRequestDate(java.lang.String reportRequestDate)
Sets the value of field 'reportRequestDate'.void
setTheField(java.lang.String theField)
Sets the value of field 'theField'.void
setTotalGroups(java.lang.Integer totalGroups)
Sets the value of field 'totalGroups'.void
setUser(java.lang.String user)
Sets the value of field 'user'.
-
-
-
Method Detail
-
addGroupSet
public void addGroupSet(GroupSet vGroupSet) throws java.lang.IndexOutOfBoundsException
- Parameters:
vGroupSet
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addGroupSet
public void addGroupSet(int index, GroupSet vGroupSet) throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-vGroupSet
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
deleteGroupWithoutNodes
public void deleteGroupWithoutNodes()
-
deleteGroupsMatching
public void deleteGroupsMatching()
-
deleteGroupsWithNodesWithoutinventoryAtAll
public void deleteGroupsWithNodesWithoutinventoryAtAll()
-
deleteGroupsWithNodesWithoutinventoryAtReportDate
public void deleteGroupsWithNodesWithoutinventoryAtReportDate()
-
deleteTotalGroups
public void deleteTotalGroups()
-
enumerateGroupSet
public java.util.Enumeration<GroupSet> enumerateGroupSet()
Method enumerateGroupSet.- Returns:
- an Enumeration over all possible elements of this collection
-
getGroupSet
public GroupSet getGroupSet(int index) throws java.lang.IndexOutOfBoundsException
Method getGroupSet.- Parameters:
index
-- Returns:
- the value of the GroupSet at the given index
- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
getGroupSet
public GroupSet[] getGroupSet()
Method getGroupSet.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
-
getGroupSetCollection
public java.util.List<GroupSet> getGroupSetCollection()
Method getGroupSetCollection.Returns a reference to 'groupSetList'. No type checking is performed on any modifications to the Vector.- Returns:
- a reference to the Vector backing this class
-
getGroupSetCount
public int getGroupSetCount()
Method getGroupSetCount.- Returns:
- the size of this collection
-
getGroupWithoutNodes
public java.lang.Integer getGroupWithoutNodes()
Returns the value of field 'groupWithoutNodes'.- Returns:
- the value of field 'GroupWithoutNodes'.
-
getGroupsMatching
public java.lang.Integer getGroupsMatching()
Returns the value of field 'groupsMatching'.- Returns:
- the value of field 'GroupsMatching'.
-
getGroupsWithNodesWithoutinventoryAtAll
public java.lang.Integer getGroupsWithNodesWithoutinventoryAtAll()
Returns the value of field 'groupsWithNodesWithoutinventoryAtAll'.- Returns:
- the value of field 'GroupsWithNodesWithoutinventoryAtAll'.
-
getGroupsWithNodesWithoutinventoryAtReportDate
public java.lang.Integer getGroupsWithNodesWithoutinventoryAtReportDate()
Returns the value of field 'groupsWithNodesWithoutinventoryAtReportDate'.- Returns:
- the value of field 'GroupsWithNodesWithoutinventoryAtReportDate'.
-
getReportDate
public java.lang.String getReportDate()
Returns the value of field 'reportDate'.- Returns:
- the value of field 'ReportDate'.
-
getReportRequestDate
public java.lang.String getReportRequestDate()
Returns the value of field 'reportRequestDate'.- Returns:
- the value of field 'ReportRequestDate'.
-
getTheField
public java.lang.String getTheField()
Returns the value of field 'theField'.- Returns:
- the value of field 'TheField'.
-
getTotalGroups
public java.lang.Integer getTotalGroups()
Returns the value of field 'totalGroups'.- Returns:
- the value of field 'TotalGroups'.
-
getUser
public java.lang.String getUser()
Returns the value of field 'user'.- Returns:
- the value of field 'User'.
-
hasGroupWithoutNodes
public boolean hasGroupWithoutNodes()
Method hasGroupWithoutNodes.- Returns:
- true if at least one GroupWithoutNodes has been added
-
hasGroupsMatching
public boolean hasGroupsMatching()
Method hasGroupsMatching.- Returns:
- true if at least one GroupsMatching has been added
-
hasGroupsWithNodesWithoutinventoryAtAll
public boolean hasGroupsWithNodesWithoutinventoryAtAll()
Method hasGroupsWithNodesWithoutinventoryAtAll.- Returns:
- true if at least one GroupsWithNodesWithoutinventoryAtAll has been added
-
hasGroupsWithNodesWithoutinventoryAtReportDate
public boolean hasGroupsWithNodesWithoutinventoryAtReportDate()
Method hasGroupsWithNodesWithoutinventoryAtReportDate.- Returns:
- true if at least one GroupsWithNodesWithoutinventoryAtReportDate has been added
-
hasTotalGroups
public boolean hasTotalGroups()
Method hasTotalGroups.- Returns:
- true if at least one TotalGroups has been added
-
iterateGroupSet
public java.util.Iterator<GroupSet> iterateGroupSet()
Method iterateGroupSet.- Returns:
- an Iterator over all possible elements in this collection
-
removeAllGroupSet
public void removeAllGroupSet()
-
removeGroupSet
public boolean removeGroupSet(GroupSet vGroupSet)
Method removeGroupSet.- Parameters:
vGroupSet
-- Returns:
- true if the object was removed from the collection.
-
removeGroupSetAt
public GroupSet removeGroupSetAt(int index)
Method removeGroupSetAt.- Parameters:
index
-- Returns:
- the element removed from the collection
-
setGroupSet
public void setGroupSet(int index, GroupSet vGroupSet) throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-vGroupSet
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
setGroupSet
public void setGroupSet(GroupSet[] vGroupSetArray)
- Parameters:
vGroupSetArray
-
-
setGroupSet
public void setGroupSet(java.util.List<GroupSet> vGroupSetList)
Sets the value of 'groupSetList' by copying the given Vector. All elements will be checked for type safety.- Parameters:
vGroupSetList
- the Vector to copy.
-
setGroupSetCollection
public void setGroupSetCollection(java.util.List<GroupSet> groupSetList)
Deprecated.Sets the value of 'groupSetList' by setting it to the given Vector. No type checking is performed.- Parameters:
groupSetList
- the Vector to set.
-
setGroupWithoutNodes
public void setGroupWithoutNodes(java.lang.Integer groupWithoutNodes)
Sets the value of field 'groupWithoutNodes'.- Parameters:
groupWithoutNodes
- the value of field 'groupWithoutNodes'.
-
setGroupsMatching
public void setGroupsMatching(java.lang.Integer groupsMatching)
Sets the value of field 'groupsMatching'.- Parameters:
groupsMatching
- the value of field 'groupsMatching'.
-
setGroupsWithNodesWithoutinventoryAtAll
public void setGroupsWithNodesWithoutinventoryAtAll(java.lang.Integer groupsWithNodesWithoutinventoryAtAll)
Sets the value of field 'groupsWithNodesWithoutinventoryAtAll'.- Parameters:
groupsWithNodesWithoutinventoryAtAll
- the value of field 'groupsWithNodesWithoutinventoryAtAll'.
-
setGroupsWithNodesWithoutinventoryAtReportDate
public void setGroupsWithNodesWithoutinventoryAtReportDate(java.lang.Integer groupsWithNodesWithoutinventoryAtReportDate)
Sets the value of field 'groupsWithNodesWithoutinventoryAtReportDate'.- Parameters:
groupsWithNodesWithoutinventoryAtReportDate
- the value of field 'groupsWithNodesWithoutinventoryAtReportDate'.
-
setReportDate
public void setReportDate(java.lang.String reportDate)
Sets the value of field 'reportDate'.- Parameters:
reportDate
- the value of field 'reportDate'.
-
setReportRequestDate
public void setReportRequestDate(java.lang.String reportRequestDate)
Sets the value of field 'reportRequestDate'.- Parameters:
reportRequestDate
- the value of field 'reportRequestDate'.
-
setTheField
public void setTheField(java.lang.String theField)
Sets the value of field 'theField'.- Parameters:
theField
- the value of field 'theField'.
-
setTotalGroups
public void setTotalGroups(java.lang.Integer totalGroups)
Sets the value of field 'totalGroups'.- Parameters:
totalGroups
- the value of field 'totalGroups'.
-
setUser
public void setUser(java.lang.String user)
Sets the value of field 'user'.- Parameters:
user
- the value of field 'user'.
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-