Package org.opennms.report.inventory
Class Nbisinglenode
- java.lang.Object
-
- org.opennms.report.inventory.Nbisinglenode
-
- All Implemented Interfaces:
java.io.Serializable
public class Nbisinglenode extends java.lang.Object implements java.io.Serializable
Class Nbisinglenode.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Nbisinglenode()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addInventoryElement2RP(int index, InventoryElement2RP vInventoryElement2RP)
void
addInventoryElement2RP(InventoryElement2RP vInventoryElement2RP)
java.util.Enumeration<InventoryElement2RP>
enumerateInventoryElement2RP()
Method enumerateInventoryElement2RP.boolean
equals(java.lang.Object other)
java.lang.String
getComment()
Returns the value of field 'comment'.java.lang.String
getConfigurationurl()
Returns the value of field 'configurationurl'.java.util.Date
getCreationdate()
Returns the value of field 'creationdate'.java.lang.String
getDevicename()
Returns the value of field 'devicename'.java.lang.String
getGroupname()
Returns the value of field 'groupname'.InventoryElement2RP[]
getInventoryElement2RP()
Method getInventoryElement2RP.Returns the contents of the collection in an Array.InventoryElement2RP
getInventoryElement2RP(int index)
Method getInventoryElement2RP.java.util.List<InventoryElement2RP>
getInventoryElement2RPCollection()
Method getInventoryElement2RPCollection.Returns a reference to 'inventoryElement2RPList'.int
getInventoryElement2RPCount()
Method getInventoryElement2RPCount.java.lang.String
getStatus()
Returns the value of field 'status'.java.lang.String
getSwconfigurationurl()
Returns the value of field 'swconfigurationurl'.java.lang.String
getVersion()
Returns the value of field 'version'.int
hashCode()
java.util.Iterator<InventoryElement2RP>
iterateInventoryElement2RP()
Method iterateInventoryElement2RP.void
removeAllInventoryElement2RP()
boolean
removeInventoryElement2RP(InventoryElement2RP vInventoryElement2RP)
Method removeInventoryElement2RP.InventoryElement2RP
removeInventoryElement2RPAt(int index)
Method removeInventoryElement2RPAt.void
setComment(java.lang.String comment)
Sets the value of field 'comment'.void
setConfigurationurl(java.lang.String configurationurl)
Sets the value of field 'configurationurl'.void
setCreationdate(java.util.Date creationdate)
Sets the value of field 'creationdate'.void
setDevicename(java.lang.String devicename)
Sets the value of field 'devicename'.void
setGroupname(java.lang.String groupname)
Sets the value of field 'groupname'.void
setInventoryElement2RP(int index, InventoryElement2RP vInventoryElement2RP)
void
setInventoryElement2RP(java.util.List<InventoryElement2RP> vInventoryElement2RPList)
Sets the value of 'inventoryElement2RPList' by copying the given Vector.void
setInventoryElement2RP(InventoryElement2RP[] vInventoryElement2RPArray)
void
setInventoryElement2RPCollection(java.util.List<InventoryElement2RP> inventoryElement2RPList)
Deprecated.void
setStatus(java.lang.String status)
Sets the value of field 'status'.void
setSwconfigurationurl(java.lang.String swconfigurationurl)
Sets the value of field 'swconfigurationurl'.void
setVersion(java.lang.String version)
Sets the value of field 'version'.
-
-
-
Method Detail
-
addInventoryElement2RP
public void addInventoryElement2RP(InventoryElement2RP vInventoryElement2RP) throws java.lang.IndexOutOfBoundsException
- Parameters:
vInventoryElement2RP
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addInventoryElement2RP
public void addInventoryElement2RP(int index, InventoryElement2RP vInventoryElement2RP) throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-vInventoryElement2RP
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
enumerateInventoryElement2RP
public java.util.Enumeration<InventoryElement2RP> enumerateInventoryElement2RP()
Method enumerateInventoryElement2RP.- Returns:
- an Enumeration over all possible elements of this collection
-
getComment
public java.lang.String getComment()
Returns the value of field 'comment'.- Returns:
- the value of field 'Comment'.
-
getConfigurationurl
public java.lang.String getConfigurationurl()
Returns the value of field 'configurationurl'.- Returns:
- the value of field 'Configurationurl'.
-
getCreationdate
public java.util.Date getCreationdate()
Returns the value of field 'creationdate'.- Returns:
- the value of field 'Creationdate'.
-
getDevicename
public java.lang.String getDevicename()
Returns the value of field 'devicename'.- Returns:
- the value of field 'Devicename'.
-
getGroupname
public java.lang.String getGroupname()
Returns the value of field 'groupname'.- Returns:
- the value of field 'Groupname'.
-
getInventoryElement2RP
public InventoryElement2RP getInventoryElement2RP(int index) throws java.lang.IndexOutOfBoundsException
Method getInventoryElement2RP.- Parameters:
index
-- Returns:
- the value of the InventoryElement2RP at the given index
- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
getInventoryElement2RP
public InventoryElement2RP[] getInventoryElement2RP()
Method getInventoryElement2RP.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
-
getInventoryElement2RPCollection
public java.util.List<InventoryElement2RP> getInventoryElement2RPCollection()
Method getInventoryElement2RPCollection.Returns a reference to 'inventoryElement2RPList'. No type checking is performed on any modifications to the Vector.- Returns:
- a reference to the Vector backing this class
-
getInventoryElement2RPCount
public int getInventoryElement2RPCount()
Method getInventoryElement2RPCount.- Returns:
- the size of this collection
-
getStatus
public java.lang.String getStatus()
Returns the value of field 'status'.- Returns:
- the value of field 'Status'.
-
getSwconfigurationurl
public java.lang.String getSwconfigurationurl()
Returns the value of field 'swconfigurationurl'.- Returns:
- the value of field 'Swconfigurationurl'.
-
getVersion
public java.lang.String getVersion()
Returns the value of field 'version'.- Returns:
- the value of field 'Version'.
-
iterateInventoryElement2RP
public java.util.Iterator<InventoryElement2RP> iterateInventoryElement2RP()
Method iterateInventoryElement2RP.- Returns:
- an Iterator over all possible elements in this collection
-
removeAllInventoryElement2RP
public void removeAllInventoryElement2RP()
-
removeInventoryElement2RP
public boolean removeInventoryElement2RP(InventoryElement2RP vInventoryElement2RP)
Method removeInventoryElement2RP.- Parameters:
vInventoryElement2RP
-- Returns:
- true if the object was removed from the collection.
-
removeInventoryElement2RPAt
public InventoryElement2RP removeInventoryElement2RPAt(int index)
Method removeInventoryElement2RPAt.- Parameters:
index
-- Returns:
- the element removed from the collection
-
setComment
public void setComment(java.lang.String comment)
Sets the value of field 'comment'.- Parameters:
comment
- the value of field 'comment'.
-
setConfigurationurl
public void setConfigurationurl(java.lang.String configurationurl)
Sets the value of field 'configurationurl'.- Parameters:
configurationurl
- the value of field 'configurationurl'.
-
setCreationdate
public void setCreationdate(java.util.Date creationdate)
Sets the value of field 'creationdate'.- Parameters:
creationdate
- the value of field 'creationdate'.
-
setDevicename
public void setDevicename(java.lang.String devicename)
Sets the value of field 'devicename'.- Parameters:
devicename
- the value of field 'devicename'.
-
setGroupname
public void setGroupname(java.lang.String groupname)
Sets the value of field 'groupname'.- Parameters:
groupname
- the value of field 'groupname'.
-
setInventoryElement2RP
public void setInventoryElement2RP(int index, InventoryElement2RP vInventoryElement2RP) throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-vInventoryElement2RP
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
setInventoryElement2RP
public void setInventoryElement2RP(InventoryElement2RP[] vInventoryElement2RPArray)
- Parameters:
vInventoryElement2RPArray
-
-
setInventoryElement2RP
public void setInventoryElement2RP(java.util.List<InventoryElement2RP> vInventoryElement2RPList)
Sets the value of 'inventoryElement2RPList' by copying the given Vector. All elements will be checked for type safety.- Parameters:
vInventoryElement2RPList
- the Vector to copy.
-
setInventoryElement2RPCollection
public void setInventoryElement2RPCollection(java.util.List<InventoryElement2RP> inventoryElement2RPList)
Deprecated.Sets the value of 'inventoryElement2RPList' by setting it to the given Vector. No type checking is performed.- Parameters:
inventoryElement2RPList
- the Vector to set.
-
setStatus
public void setStatus(java.lang.String status)
Sets the value of field 'status'.- Parameters:
status
- the value of field 'status'.
-
setSwconfigurationurl
public void setSwconfigurationurl(java.lang.String swconfigurationurl)
Sets the value of field 'swconfigurationurl'.- Parameters:
swconfigurationurl
- the value of field 'swconfigurationurl'.
-
setVersion
public void setVersion(java.lang.String version)
Sets the value of field 'version'.- Parameters:
version
- the value of field 'version'.
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-