Package org.opennms.report.inventory
Class InventoryElement2RP
- java.lang.Object
-
- org.opennms.report.inventory.InventoryElement2RP
-
- All Implemented Interfaces:
Serializable
public class InventoryElement2RP extends Object implements 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 voidaddInventoryMemoryRP(int index, InventoryMemoryRP vInventoryMemoryRP)voidaddInventoryMemoryRP(InventoryMemoryRP vInventoryMemoryRP)voidaddInventorySoftwareRP(int index, InventorySoftwareRP vInventorySoftwareRP)voidaddInventorySoftwareRP(InventorySoftwareRP vInventorySoftwareRP)voidaddTupleRP(int index, TupleRP vTupleRP)voidaddTupleRP(TupleRP vTupleRP)Enumeration<InventoryMemoryRP>enumerateInventoryMemoryRP()Method enumerateInventoryMemoryRP.Enumeration<InventorySoftwareRP>enumerateInventorySoftwareRP()Method enumerateInventorySoftwareRP.Enumeration<TupleRP>enumerateTupleRP()Method enumerateTupleRP.booleanequals(Object other)InventoryMemoryRP[]getInventoryMemoryRP()Method getInventoryMemoryRP.Returns the contents of the collection in an Array.InventoryMemoryRPgetInventoryMemoryRP(int index)Method getInventoryMemoryRP.List<InventoryMemoryRP>getInventoryMemoryRPCollection()Method getInventoryMemoryRPCollection.Returns a reference to 'inventoryMemoryRPList'.intgetInventoryMemoryRPCount()Method getInventoryMemoryRPCount.InventorySoftwareRP[]getInventorySoftwareRP()Method getInventorySoftwareRP.Returns the contents of the collection in an Array.InventorySoftwareRPgetInventorySoftwareRP(int index)Method getInventorySoftwareRP.List<InventorySoftwareRP>getInventorySoftwareRPCollection()Method getInventorySoftwareRPCollection.Returns a reference to 'inventorySoftwareRPList'.intgetInventorySoftwareRPCount()Method getInventorySoftwareRPCount.StringgetName()Returns the value of field 'name'.TupleRP[]getTupleRP()Method getTupleRP.Returns the contents of the collection in an Array.TupleRPgetTupleRP(int index)Method getTupleRP.List<TupleRP>getTupleRPCollection()Method getTupleRPCollection.Returns a reference to 'tupleRPList'.intgetTupleRPCount()Method getTupleRPCount.inthashCode()Iterator<InventoryMemoryRP>iterateInventoryMemoryRP()Method iterateInventoryMemoryRP.Iterator<InventorySoftwareRP>iterateInventorySoftwareRP()Method iterateInventorySoftwareRP.Iterator<TupleRP>iterateTupleRP()Method iterateTupleRP.voidremoveAllInventoryMemoryRP()voidremoveAllInventorySoftwareRP()voidremoveAllTupleRP()booleanremoveInventoryMemoryRP(InventoryMemoryRP vInventoryMemoryRP)Method removeInventoryMemoryRP.InventoryMemoryRPremoveInventoryMemoryRPAt(int index)Method removeInventoryMemoryRPAt.booleanremoveInventorySoftwareRP(InventorySoftwareRP vInventorySoftwareRP)Method removeInventorySoftwareRP.InventorySoftwareRPremoveInventorySoftwareRPAt(int index)Method removeInventorySoftwareRPAt.booleanremoveTupleRP(TupleRP vTupleRP)Method removeTupleRP.TupleRPremoveTupleRPAt(int index)Method removeTupleRPAt.voidsetInventoryMemoryRP(int index, InventoryMemoryRP vInventoryMemoryRP)voidsetInventoryMemoryRP(List<InventoryMemoryRP> vInventoryMemoryRPList)Sets the value of 'inventoryMemoryRPList' by copying the given Vector.voidsetInventoryMemoryRP(InventoryMemoryRP[] vInventoryMemoryRPArray)voidsetInventoryMemoryRPCollection(List<InventoryMemoryRP> inventoryMemoryRPList)Deprecated.voidsetInventorySoftwareRP(int index, InventorySoftwareRP vInventorySoftwareRP)voidsetInventorySoftwareRP(List<InventorySoftwareRP> vInventorySoftwareRPList)Sets the value of 'inventorySoftwareRPList' by copying the given Vector.voidsetInventorySoftwareRP(InventorySoftwareRP[] vInventorySoftwareRPArray)voidsetInventorySoftwareRPCollection(List<InventorySoftwareRP> inventorySoftwareRPList)Deprecated.voidsetName(String name)Sets the value of field 'name'.voidsetTupleRP(int index, TupleRP vTupleRP)voidsetTupleRP(List<TupleRP> vTupleRPList)Sets the value of 'tupleRPList' by copying the given Vector.voidsetTupleRP(TupleRP[] vTupleRPArray)voidsetTupleRPCollection(List<TupleRP> tupleRPList)Deprecated.
-
-
-
Method Detail
-
addInventoryMemoryRP
public void addInventoryMemoryRP(InventoryMemoryRP vInventoryMemoryRP) throws IndexOutOfBoundsException
- Parameters:
vInventoryMemoryRP-- Throws:
IndexOutOfBoundsException- if the index given is outside the bounds of the collection
-
addInventoryMemoryRP
public void addInventoryMemoryRP(int index, InventoryMemoryRP vInventoryMemoryRP) throws IndexOutOfBoundsException- Parameters:
index-vInventoryMemoryRP-- Throws:
IndexOutOfBoundsException- if the index given is outside the bounds of the collection
-
addInventorySoftwareRP
public void addInventorySoftwareRP(InventorySoftwareRP vInventorySoftwareRP) throws IndexOutOfBoundsException
- Parameters:
vInventorySoftwareRP-- Throws:
IndexOutOfBoundsException- if the index given is outside the bounds of the collection
-
addInventorySoftwareRP
public void addInventorySoftwareRP(int index, InventorySoftwareRP vInventorySoftwareRP) throws IndexOutOfBoundsException- Parameters:
index-vInventorySoftwareRP-- Throws:
IndexOutOfBoundsException- if the index given is outside the bounds of the collection
-
addTupleRP
public void addTupleRP(TupleRP vTupleRP) throws IndexOutOfBoundsException
- Parameters:
vTupleRP-- Throws:
IndexOutOfBoundsException- if the index given is outside the bounds of the collection
-
addTupleRP
public void addTupleRP(int index, TupleRP vTupleRP) throws IndexOutOfBoundsException- Parameters:
index-vTupleRP-- Throws:
IndexOutOfBoundsException- if the index given is outside the bounds of the collection
-
enumerateInventoryMemoryRP
public Enumeration<InventoryMemoryRP> enumerateInventoryMemoryRP()
Method enumerateInventoryMemoryRP.- Returns:
- an Enumeration over all possible elements of this collection
-
enumerateInventorySoftwareRP
public Enumeration<InventorySoftwareRP> enumerateInventorySoftwareRP()
Method enumerateInventorySoftwareRP.- Returns:
- an Enumeration over all possible elements of this collection
-
enumerateTupleRP
public Enumeration<TupleRP> enumerateTupleRP()
Method enumerateTupleRP.- Returns:
- an Enumeration over all possible elements of this collection
-
getInventoryMemoryRP
public InventoryMemoryRP getInventoryMemoryRP(int index) throws IndexOutOfBoundsException
Method getInventoryMemoryRP.- Parameters:
index-- Returns:
- the value of the InventoryMemoryRP at the given index
- Throws:
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 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 IndexOutOfBoundsException
Method getInventorySoftwareRP.- Parameters:
index-- Returns:
- the value of the InventorySoftwareRP at the given index
- Throws:
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 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 String getName()
Returns the value of field 'name'.- Returns:
- the value of field 'Name'.
-
getTupleRP
public TupleRP getTupleRP(int index) throws IndexOutOfBoundsException
Method getTupleRP.- Parameters:
index-- Returns:
- the value of the TupleRP at the given index
- Throws:
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 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 Iterator<InventoryMemoryRP> iterateInventoryMemoryRP()
Method iterateInventoryMemoryRP.- Returns:
- an Iterator over all possible elements in this collection
-
iterateInventorySoftwareRP
public Iterator<InventorySoftwareRP> iterateInventorySoftwareRP()
Method iterateInventorySoftwareRP.- Returns:
- an Iterator over all possible elements in this collection
-
iterateTupleRP
public 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 IndexOutOfBoundsException- Parameters:
index-vInventoryMemoryRP-- Throws:
IndexOutOfBoundsException- if the index given is outside the bounds of the collection
-
setInventoryMemoryRP
public void setInventoryMemoryRP(InventoryMemoryRP[] vInventoryMemoryRPArray)
- Parameters:
vInventoryMemoryRPArray-
-
setInventoryMemoryRP
public void setInventoryMemoryRP(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(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 IndexOutOfBoundsException- Parameters:
index-vInventorySoftwareRP-- Throws:
IndexOutOfBoundsException- if the index given is outside the bounds of the collection
-
setInventorySoftwareRP
public void setInventorySoftwareRP(InventorySoftwareRP[] vInventorySoftwareRPArray)
- Parameters:
vInventorySoftwareRPArray-
-
setInventorySoftwareRP
public void setInventorySoftwareRP(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(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(String name)
Sets the value of field 'name'.- Parameters:
name- the value of field 'name'.
-
setTupleRP
public void setTupleRP(int index, TupleRP vTupleRP) throws IndexOutOfBoundsException- Parameters:
index-vTupleRP-- Throws:
IndexOutOfBoundsException- if the index given is outside the bounds of the collection
-
setTupleRP
public void setTupleRP(TupleRP[] vTupleRPArray)
- Parameters:
vTupleRPArray-
-
setTupleRP
public void setTupleRP(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(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.
-
-