Class VmwareDatacollectionConfig
- java.lang.Object
-
- org.opennms.netmgt.config.vmware.vijava.VmwareDatacollectionConfig
-
- All Implemented Interfaces:
java.io.Serializable
public class VmwareDatacollectionConfig extends java.lang.Object implements java.io.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 void
addVmwareCollection(int index, VmwareCollection vVmwareCollection)
void
addVmwareCollection(VmwareCollection vVmwareCollection)
java.util.Enumeration<VmwareCollection>
enumerateVmwareCollection()
Method enumerateVmwareCollection.boolean
equals(java.lang.Object obj)
Overrides the java.lang.Object.equals method.java.lang.String
getRrdRepository()
Returns the value of field 'rrdRepository'.VmwareCollection[]
getVmwareCollection()
Method getVmwareCollection.Returns the contents of the collection in an Array.VmwareCollection
getVmwareCollection(int index)
Method getVmwareCollection.java.util.List<VmwareCollection>
getVmwareCollectionCollection()
Method getVmwareCollectionCollection.Returns a reference to '_vmwareCollectionList'.int
getVmwareCollectionCount()
Method getVmwareCollectionCount.java.util.Iterator<VmwareCollection>
iterateVmwareCollection()
Method iterateVmwareCollection.void
removeAllVmwareCollection()
boolean
removeVmwareCollection(VmwareCollection vVmwareCollection)
Method removeVmwareCollection.VmwareCollection
removeVmwareCollectionAt(int index)
Method removeVmwareCollectionAt.void
setRrdRepository(java.lang.String rrdRepository)
Sets the value of field 'rrdRepository'.void
setVmwareCollection(int index, VmwareCollection vVmwareCollection)
void
setVmwareCollection(java.util.List<VmwareCollection> vVmwareCollectionList)
Sets the value of '_vmwareCollectionList' by copying the given Vector.void
setVmwareCollection(VmwareCollection[] vVmwareCollectionArray)
-
-
-
Method Detail
-
addVmwareCollection
public void addVmwareCollection(VmwareCollection vVmwareCollection) throws java.lang.IndexOutOfBoundsException
- Parameters:
vVmwareCollection
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addVmwareCollection
public void addVmwareCollection(int index, VmwareCollection vVmwareCollection) throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-vVmwareCollection
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
enumerateVmwareCollection
public java.util.Enumeration<VmwareCollection> enumerateVmwareCollection()
Method enumerateVmwareCollection.- Returns:
- an Enumeration over all possible elements of this collection
-
equals
public boolean equals(java.lang.Object obj)
Overrides the java.lang.Object.equals method.- Overrides:
equals
in classjava.lang.Object
- Parameters:
obj
-- Returns:
- true if the objects are equal.
-
getRrdRepository
public java.lang.String getRrdRepository()
Returns the value of field 'rrdRepository'.- Returns:
- the value of field 'RrdRepository'.
-
getVmwareCollection
public VmwareCollection getVmwareCollection(int index) throws java.lang.IndexOutOfBoundsException
Method getVmwareCollection.- Parameters:
index
-- Returns:
- the value of the org.opennms.netmgt.config.vmware.vijava.VmwareCollection at the given index
- Throws:
java.lang.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 java.util.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 java.util.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(java.lang.String rrdRepository)
Sets the value of field 'rrdRepository'.- Parameters:
rrdRepository
- the value of field 'rrdRepository'.
-
setVmwareCollection
public void setVmwareCollection(int index, VmwareCollection vVmwareCollection) throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-vVmwareCollection
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
setVmwareCollection
public void setVmwareCollection(VmwareCollection[] vVmwareCollectionArray)
- Parameters:
vVmwareCollectionArray
-
-
setVmwareCollection
public void setVmwareCollection(java.util.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.
-
-