Class VmwareDatacollectionConfig
- java.lang.Object
-
- org.opennms.netmgt.config.vmware.vijava.VmwareDatacollectionConfig
-
- All Implemented Interfaces:
Serializable
public class VmwareDatacollectionConfig extends Object implements Serializable
Class VmwareDatacollectionConfig.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VmwareDatacollectionConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddVmwareCollection(int index, VmwareCollection vVmwareCollection)voidaddVmwareCollection(VmwareCollection vVmwareCollection)Enumeration<VmwareCollection>enumerateVmwareCollection()Method enumerateVmwareCollection.booleanequals(Object obj)Overrides the java.lang.Object.equals method.StringgetRrdRepository()Returns the value of field 'rrdRepository'.VmwareCollection[]getVmwareCollection()Method getVmwareCollection.Returns the contents of the collection in an Array.VmwareCollectiongetVmwareCollection(int index)Method getVmwareCollection.List<VmwareCollection>getVmwareCollectionCollection()Method getVmwareCollectionCollection.Returns a reference to '_vmwareCollectionList'.intgetVmwareCollectionCount()Method getVmwareCollectionCount.Iterator<VmwareCollection>iterateVmwareCollection()Method iterateVmwareCollection.voidremoveAllVmwareCollection()booleanremoveVmwareCollection(VmwareCollection vVmwareCollection)Method removeVmwareCollection.VmwareCollectionremoveVmwareCollectionAt(int index)Method removeVmwareCollectionAt.voidsetRrdRepository(String rrdRepository)Sets the value of field 'rrdRepository'.voidsetVmwareCollection(int index, VmwareCollection vVmwareCollection)voidsetVmwareCollection(List<VmwareCollection> vVmwareCollectionList)Sets the value of '_vmwareCollectionList' by copying the given Vector.voidsetVmwareCollection(VmwareCollection[] vVmwareCollectionArray)
-
-
-
Method Detail
-
addVmwareCollection
public void addVmwareCollection(VmwareCollection vVmwareCollection) throws IndexOutOfBoundsException
- Parameters:
vVmwareCollection-- Throws:
IndexOutOfBoundsException- if the index given is outside the bounds of the collection
-
addVmwareCollection
public void addVmwareCollection(int index, VmwareCollection vVmwareCollection) throws IndexOutOfBoundsException- Parameters:
index-vVmwareCollection-- Throws:
IndexOutOfBoundsException- if the index given is outside the bounds of the collection
-
enumerateVmwareCollection
public Enumeration<VmwareCollection> enumerateVmwareCollection()
Method enumerateVmwareCollection.- Returns:
- an Enumeration over all possible elements of this collection
-
equals
public boolean equals(Object obj)
Overrides the java.lang.Object.equals method.
-
getRrdRepository
public String getRrdRepository()
Returns the value of field 'rrdRepository'.- Returns:
- the value of field 'RrdRepository'.
-
getVmwareCollection
public VmwareCollection getVmwareCollection(int index) throws IndexOutOfBoundsException
Method getVmwareCollection.- Parameters:
index-- Returns:
- the value of the org.opennms.netmgt.config.vmware.vijava.VmwareCollection at the given index
- Throws:
IndexOutOfBoundsException- if the index given is outside the bounds of the collection
-
getVmwareCollection
public VmwareCollection[] getVmwareCollection()
Method getVmwareCollection.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
-
getVmwareCollectionCollection
public List<VmwareCollection> getVmwareCollectionCollection()
Method getVmwareCollectionCollection.Returns a reference to '_vmwareCollectionList'. No type checking is performed on any modifications to the Vector.- Returns:
- a reference to the Vector backing this class
-
getVmwareCollectionCount
public int getVmwareCollectionCount()
Method getVmwareCollectionCount.- Returns:
- the size of this collection
-
iterateVmwareCollection
public Iterator<VmwareCollection> iterateVmwareCollection()
Method iterateVmwareCollection.- Returns:
- an Iterator over all possible elements in this collection
-
removeAllVmwareCollection
public void removeAllVmwareCollection()
-
removeVmwareCollection
public boolean removeVmwareCollection(VmwareCollection vVmwareCollection)
Method removeVmwareCollection.- Parameters:
vVmwareCollection-- Returns:
- true if the object was removed from the collection.
-
removeVmwareCollectionAt
public VmwareCollection removeVmwareCollectionAt(int index)
Method removeVmwareCollectionAt.- Parameters:
index-- Returns:
- the element removed from the collection
-
setRrdRepository
public void setRrdRepository(String rrdRepository)
Sets the value of field 'rrdRepository'.- Parameters:
rrdRepository- the value of field 'rrdRepository'.
-
setVmwareCollection
public void setVmwareCollection(int index, VmwareCollection vVmwareCollection) throws IndexOutOfBoundsException- Parameters:
index-vVmwareCollection-- Throws:
IndexOutOfBoundsException- if the index given is outside the bounds of the collection
-
setVmwareCollection
public void setVmwareCollection(VmwareCollection[] vVmwareCollectionArray)
- Parameters:
vVmwareCollectionArray-
-
setVmwareCollection
public void setVmwareCollection(List<VmwareCollection> vVmwareCollectionList)
Sets the value of '_vmwareCollectionList' by copying the given Vector. All elements will be checked for type safety.- Parameters:
vVmwareCollectionList- the Vector to copy.
-
-