Package org.opennms.report.inventory
Class InventoryElement2RP
- java.lang.Object
-
- org.opennms.report.inventory.InventoryElement2RP
-
- All Implemented Interfaces:
java.io.Serializable
public class InventoryElement2RP extends java.lang.Object implements java.io.Serializable
Class InventoryElement2RP.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InventoryElement2RP()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addInventoryMemoryRP(int index, InventoryMemoryRP vInventoryMemoryRP)
void
addInventoryMemoryRP(InventoryMemoryRP vInventoryMemoryRP)
void
addInventorySoftwareRP(int index, InventorySoftwareRP vInventorySoftwareRP)
void
addInventorySoftwareRP(InventorySoftwareRP vInventorySoftwareRP)
void
addTupleRP(int index, TupleRP vTupleRP)
void
addTupleRP(TupleRP vTupleRP)
java.util.Enumeration<InventoryMemoryRP>
enumerateInventoryMemoryRP()
Method enumerateInventoryMemoryRP.java.util.Enumeration<InventorySoftwareRP>
enumerateInventorySoftwareRP()
Method enumerateInventorySoftwareRP.java.util.Enumeration<TupleRP>
enumerateTupleRP()
Method enumerateTupleRP.boolean
equals(java.lang.Object other)
InventoryMemoryRP[]
getInventoryMemoryRP()
Method getInventoryMemoryRP.Returns the contents of the collection in an Array.InventoryMemoryRP
getInventoryMemoryRP(int index)
Method getInventoryMemoryRP.java.util.List<InventoryMemoryRP>
getInventoryMemoryRPCollection()
Method getInventoryMemoryRPCollection.Returns a reference to 'inventoryMemoryRPList'.int
getInventoryMemoryRPCount()
Method getInventoryMemoryRPCount.InventorySoftwareRP[]
getInventorySoftwareRP()
Method getInventorySoftwareRP.Returns the contents of the collection in an Array.InventorySoftwareRP
getInventorySoftwareRP(int index)
Method getInventorySoftwareRP.java.util.List<InventorySoftwareRP>
getInventorySoftwareRPCollection()
Method getInventorySoftwareRPCollection.Returns a reference to 'inventorySoftwareRPList'.int
getInventorySoftwareRPCount()
Method getInventorySoftwareRPCount.java.lang.String
getName()
Returns the value of field 'name'.TupleRP[]
getTupleRP()
Method getTupleRP.Returns the contents of the collection in an Array.TupleRP
getTupleRP(int index)
Method getTupleRP.java.util.List<TupleRP>
getTupleRPCollection()
Method getTupleRPCollection.Returns a reference to 'tupleRPList'.int
getTupleRPCount()
Method getTupleRPCount.int
hashCode()
java.util.Iterator<InventoryMemoryRP>
iterateInventoryMemoryRP()
Method iterateInventoryMemoryRP.java.util.Iterator<InventorySoftwareRP>
iterateInventorySoftwareRP()
Method iterateInventorySoftwareRP.java.util.Iterator<TupleRP>
iterateTupleRP()
Method iterateTupleRP.void
removeAllInventoryMemoryRP()
void
removeAllInventorySoftwareRP()
void
removeAllTupleRP()
boolean
removeInventoryMemoryRP(InventoryMemoryRP vInventoryMemoryRP)
Method removeInventoryMemoryRP.InventoryMemoryRP
removeInventoryMemoryRPAt(int index)
Method removeInventoryMemoryRPAt.boolean
removeInventorySoftwareRP(InventorySoftwareRP vInventorySoftwareRP)
Method removeInventorySoftwareRP.InventorySoftwareRP
removeInventorySoftwareRPAt(int index)
Method removeInventorySoftwareRPAt.boolean
removeTupleRP(TupleRP vTupleRP)
Method removeTupleRP.TupleRP
removeTupleRPAt(int index)
Method removeTupleRPAt.void
setInventoryMemoryRP(int index, InventoryMemoryRP vInventoryMemoryRP)
void
setInventoryMemoryRP(java.util.List<InventoryMemoryRP> vInventoryMemoryRPList)
Sets the value of 'inventoryMemoryRPList' by copying the given Vector.void
setInventoryMemoryRP(InventoryMemoryRP[] vInventoryMemoryRPArray)
void
setInventoryMemoryRPCollection(java.util.List<InventoryMemoryRP> inventoryMemoryRPList)
Deprecated.void
setInventorySoftwareRP(int index, InventorySoftwareRP vInventorySoftwareRP)
void
setInventorySoftwareRP(java.util.List<InventorySoftwareRP> vInventorySoftwareRPList)
Sets the value of 'inventorySoftwareRPList' by copying the given Vector.void
setInventorySoftwareRP(InventorySoftwareRP[] vInventorySoftwareRPArray)
void
setInventorySoftwareRPCollection(java.util.List<InventorySoftwareRP> inventorySoftwareRPList)
Deprecated.void
setName(java.lang.String name)
Sets the value of field 'name'.void
setTupleRP(int index, TupleRP vTupleRP)
void
setTupleRP(java.util.List<TupleRP> vTupleRPList)
Sets the value of 'tupleRPList' by copying the given Vector.void
setTupleRP(TupleRP[] vTupleRPArray)
void
setTupleRPCollection(java.util.List<TupleRP> tupleRPList)
Deprecated.
-
-
-
Method Detail
-
addInventoryMemoryRP
public void addInventoryMemoryRP(InventoryMemoryRP vInventoryMemoryRP) throws java.lang.IndexOutOfBoundsException
- Parameters:
vInventoryMemoryRP
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addInventoryMemoryRP
public void addInventoryMemoryRP(int index, InventoryMemoryRP vInventoryMemoryRP) throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-vInventoryMemoryRP
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addInventorySoftwareRP
public void addInventorySoftwareRP(InventorySoftwareRP vInventorySoftwareRP) throws java.lang.IndexOutOfBoundsException
- Parameters:
vInventorySoftwareRP
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addInventorySoftwareRP
public void addInventorySoftwareRP(int index, InventorySoftwareRP vInventorySoftwareRP) throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-vInventorySoftwareRP
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addTupleRP
public void addTupleRP(TupleRP vTupleRP) throws java.lang.IndexOutOfBoundsException
- Parameters:
vTupleRP
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addTupleRP
public void addTupleRP(int index, TupleRP vTupleRP) throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-vTupleRP
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
enumerateInventoryMemoryRP
public java.util.Enumeration<InventoryMemoryRP> enumerateInventoryMemoryRP()
Method enumerateInventoryMemoryRP.- Returns:
- an Enumeration over all possible elements of this collection
-
enumerateInventorySoftwareRP
public java.util.Enumeration<InventorySoftwareRP> enumerateInventorySoftwareRP()
Method enumerateInventorySoftwareRP.- Returns:
- an Enumeration over all possible elements of this collection
-
enumerateTupleRP
public java.util.Enumeration<TupleRP> enumerateTupleRP()
Method enumerateTupleRP.- Returns:
- an Enumeration over all possible elements of this collection
-
getInventoryMemoryRP
public InventoryMemoryRP getInventoryMemoryRP(int index) throws java.lang.IndexOutOfBoundsException
Method getInventoryMemoryRP.- Parameters:
index
-- Returns:
- the value of the InventoryMemoryRP at the given index
- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
getInventoryMemoryRP
public InventoryMemoryRP[] getInventoryMemoryRP()
Method getInventoryMemoryRP.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
-
getInventoryMemoryRPCollection
public java.util.List<InventoryMemoryRP> getInventoryMemoryRPCollection()
Method getInventoryMemoryRPCollection.Returns a reference to 'inventoryMemoryRPList'. No type checking is performed on any modifications to the Vector.- Returns:
- a reference to the Vector backing this class
-
getInventoryMemoryRPCount
public int getInventoryMemoryRPCount()
Method getInventoryMemoryRPCount.- Returns:
- the size of this collection
-
getInventorySoftwareRP
public InventorySoftwareRP getInventorySoftwareRP(int index) throws java.lang.IndexOutOfBoundsException
Method getInventorySoftwareRP.- Parameters:
index
-- Returns:
- the value of the InventorySoftwareRP at the given index
- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
getInventorySoftwareRP
public InventorySoftwareRP[] getInventorySoftwareRP()
Method getInventorySoftwareRP.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
-
getInventorySoftwareRPCollection
public java.util.List<InventorySoftwareRP> getInventorySoftwareRPCollection()
Method getInventorySoftwareRPCollection.Returns a reference to 'inventorySoftwareRPList'. No type checking is performed on any modifications to the Vector.- Returns:
- a reference to the Vector backing this class
-
getInventorySoftwareRPCount
public int getInventorySoftwareRPCount()
Method getInventorySoftwareRPCount.- Returns:
- the size of this collection
-
getName
public java.lang.String getName()
Returns the value of field 'name'.- Returns:
- the value of field 'Name'.
-
getTupleRP
public TupleRP getTupleRP(int index) throws java.lang.IndexOutOfBoundsException
Method getTupleRP.- Parameters:
index
-- Returns:
- the value of the TupleRP at the given index
- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
getTupleRP
public TupleRP[] getTupleRP()
Method getTupleRP.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
-
getTupleRPCollection
public java.util.List<TupleRP> getTupleRPCollection()
Method getTupleRPCollection.Returns a reference to 'tupleRPList'. No type checking is performed on any modifications to the Vector.- Returns:
- a reference to the Vector backing this class
-
getTupleRPCount
public int getTupleRPCount()
Method getTupleRPCount.- Returns:
- the size of this collection
-
iterateInventoryMemoryRP
public java.util.Iterator<InventoryMemoryRP> iterateInventoryMemoryRP()
Method iterateInventoryMemoryRP.- Returns:
- an Iterator over all possible elements in this collection
-
iterateInventorySoftwareRP
public java.util.Iterator<InventorySoftwareRP> iterateInventorySoftwareRP()
Method iterateInventorySoftwareRP.- Returns:
- an Iterator over all possible elements in this collection
-
iterateTupleRP
public java.util.Iterator<TupleRP> iterateTupleRP()
Method iterateTupleRP.- Returns:
- an Iterator over all possible elements in this collection
-
removeAllInventoryMemoryRP
public void removeAllInventoryMemoryRP()
-
removeAllInventorySoftwareRP
public void removeAllInventorySoftwareRP()
-
removeAllTupleRP
public void removeAllTupleRP()
-
removeInventoryMemoryRP
public boolean removeInventoryMemoryRP(InventoryMemoryRP vInventoryMemoryRP)
Method removeInventoryMemoryRP.- Parameters:
vInventoryMemoryRP
-- Returns:
- true if the object was removed from the collection.
-
removeInventoryMemoryRPAt
public InventoryMemoryRP removeInventoryMemoryRPAt(int index)
Method removeInventoryMemoryRPAt.- Parameters:
index
-- Returns:
- the element removed from the collection
-
removeInventorySoftwareRP
public boolean removeInventorySoftwareRP(InventorySoftwareRP vInventorySoftwareRP)
Method removeInventorySoftwareRP.- Parameters:
vInventorySoftwareRP
-- Returns:
- true if the object was removed from the collection.
-
removeInventorySoftwareRPAt
public InventorySoftwareRP removeInventorySoftwareRPAt(int index)
Method removeInventorySoftwareRPAt.- Parameters:
index
-- Returns:
- the element removed from the collection
-
removeTupleRP
public boolean removeTupleRP(TupleRP vTupleRP)
Method removeTupleRP.- Parameters:
vTupleRP
-- Returns:
- true if the object was removed from the collection.
-
removeTupleRPAt
public TupleRP removeTupleRPAt(int index)
Method removeTupleRPAt.- Parameters:
index
-- Returns:
- the element removed from the collection
-
setInventoryMemoryRP
public void setInventoryMemoryRP(int index, InventoryMemoryRP vInventoryMemoryRP) throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-vInventoryMemoryRP
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
setInventoryMemoryRP
public void setInventoryMemoryRP(InventoryMemoryRP[] vInventoryMemoryRPArray)
- Parameters:
vInventoryMemoryRPArray
-
-
setInventoryMemoryRP
public void setInventoryMemoryRP(java.util.List<InventoryMemoryRP> vInventoryMemoryRPList)
Sets the value of 'inventoryMemoryRPList' by copying the given Vector. All elements will be checked for type safety.- Parameters:
vInventoryMemoryRPList
- the Vector to copy.
-
setInventoryMemoryRPCollection
public void setInventoryMemoryRPCollection(java.util.List<InventoryMemoryRP> inventoryMemoryRPList)
Deprecated.Sets the value of 'inventoryMemoryRPList' by setting it to the given Vector. No type checking is performed.- Parameters:
inventoryMemoryRPList
- the Vector to set.
-
setInventorySoftwareRP
public void setInventorySoftwareRP(int index, InventorySoftwareRP vInventorySoftwareRP) throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-vInventorySoftwareRP
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
setInventorySoftwareRP
public void setInventorySoftwareRP(InventorySoftwareRP[] vInventorySoftwareRPArray)
- Parameters:
vInventorySoftwareRPArray
-
-
setInventorySoftwareRP
public void setInventorySoftwareRP(java.util.List<InventorySoftwareRP> vInventorySoftwareRPList)
Sets the value of 'inventorySoftwareRPList' by copying the given Vector. All elements will be checked for type safety.- Parameters:
vInventorySoftwareRPList
- the Vector to copy.
-
setInventorySoftwareRPCollection
public void setInventorySoftwareRPCollection(java.util.List<InventorySoftwareRP> inventorySoftwareRPList)
Deprecated.Sets the value of 'inventorySoftwareRPList' by setting it to the given Vector. No type checking is performed.- Parameters:
inventorySoftwareRPList
- the Vector to set.
-
setName
public void setName(java.lang.String name)
Sets the value of field 'name'.- Parameters:
name
- the value of field 'name'.
-
setTupleRP
public void setTupleRP(int index, TupleRP vTupleRP) throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-vTupleRP
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
setTupleRP
public void setTupleRP(TupleRP[] vTupleRPArray)
- Parameters:
vTupleRPArray
-
-
setTupleRP
public void setTupleRP(java.util.List<TupleRP> vTupleRPList)
Sets the value of 'tupleRPList' by copying the given Vector. All elements will be checked for type safety.- Parameters:
vTupleRPList
- the Vector to copy.
-
setTupleRPCollection
public void setTupleRPCollection(java.util.List<TupleRP> tupleRPList)
Deprecated.Sets the value of 'tupleRPList' by setting it to the given Vector. No type checking is performed.- Parameters:
tupleRPList
- the Vector to set.
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-