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.SerializableClass VmwareDatacollectionConfig.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description VmwareDatacollectionConfig()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddVmwareCollection(int index, VmwareCollection vVmwareCollection)voidaddVmwareCollection(VmwareCollection vVmwareCollection)java.util.Enumeration<VmwareCollection>enumerateVmwareCollection()Method enumerateVmwareCollection.booleanequals(java.lang.Object obj)Overrides the java.lang.Object.equals method.java.lang.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.java.util.List<VmwareCollection>getVmwareCollectionCollection()Method getVmwareCollectionCollection.Returns a reference to '_vmwareCollectionList'.intgetVmwareCollectionCount()Method getVmwareCollectionCount.java.util.Iterator<VmwareCollection>iterateVmwareCollection()Method iterateVmwareCollection.voidremoveAllVmwareCollection()booleanremoveVmwareCollection(VmwareCollection vVmwareCollection)Method removeVmwareCollection.VmwareCollectionremoveVmwareCollectionAt(int index)Method removeVmwareCollectionAt.voidsetRrdRepository(java.lang.String rrdRepository)Sets the value of field 'rrdRepository'.voidsetVmwareCollection(int index, VmwareCollection vVmwareCollection)voidsetVmwareCollection(java.util.List<VmwareCollection> vVmwareCollectionList)Sets the value of '_vmwareCollectionList' by copying the given Vector.voidsetVmwareCollection(VmwareCollection[] vVmwareCollectionArray)
 
- 
- 
- 
Method Detail- 
addVmwareCollectionpublic 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
 
 - 
addVmwareCollectionpublic 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
 
 - 
enumerateVmwareCollectionpublic java.util.Enumeration<VmwareCollection> enumerateVmwareCollection() Method enumerateVmwareCollection.- Returns:
- an Enumeration over all possible elements of this collection
 
 - 
equalspublic boolean equals(java.lang.Object obj) Overrides the java.lang.Object.equals method.- Overrides:
- equalsin class- java.lang.Object
- Parameters:
- obj-
- Returns:
- true if the objects are equal.
 
 - 
getRrdRepositorypublic java.lang.String getRrdRepository() Returns the value of field 'rrdRepository'.- Returns:
- the value of field 'RrdRepository'.
 
 - 
getVmwareCollectionpublic 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
 
 - 
getVmwareCollectionpublic 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
 
 - 
getVmwareCollectionCollectionpublic 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
 
 - 
getVmwareCollectionCountpublic int getVmwareCollectionCount() Method getVmwareCollectionCount.- Returns:
- the size of this collection
 
 - 
iterateVmwareCollectionpublic java.util.Iterator<VmwareCollection> iterateVmwareCollection() Method iterateVmwareCollection.- Returns:
- an Iterator over all possible elements in this collection
 
 - 
removeAllVmwareCollectionpublic void removeAllVmwareCollection() 
 - 
removeVmwareCollectionpublic boolean removeVmwareCollection(VmwareCollection vVmwareCollection) Method removeVmwareCollection.- Parameters:
- vVmwareCollection-
- Returns:
- true if the object was removed from the collection.
 
 - 
removeVmwareCollectionAtpublic VmwareCollection removeVmwareCollectionAt(int index) Method removeVmwareCollectionAt.- Parameters:
- index-
- Returns:
- the element removed from the collection
 
 - 
setRrdRepositorypublic void setRrdRepository(java.lang.String rrdRepository) Sets the value of field 'rrdRepository'.- Parameters:
- rrdRepository- the value of field 'rrdRepository'.
 
 - 
setVmwareCollectionpublic 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
 
 - 
setVmwareCollectionpublic void setVmwareCollection(VmwareCollection[] vVmwareCollectionArray) - Parameters:
- vVmwareCollectionArray-
 
 - 
setVmwareCollectionpublic 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.
 
 
- 
 
-