Class VmwareCimDatacollectionConfig
- java.lang.Object
-
- org.opennms.netmgt.config.vmware.cim.VmwareCimDatacollectionConfig
-
- All Implemented Interfaces:
java.io.Serializable
public class VmwareCimDatacollectionConfig extends java.lang.Object implements java.io.Serializable
Class VmwareCimDatacollectionConfig.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VmwareCimDatacollectionConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addVmwareCimCollection(int index, VmwareCimCollection vVmwareCimCollection)
void
addVmwareCimCollection(VmwareCimCollection vVmwareCimCollection)
java.util.Enumeration<VmwareCimCollection>
enumerateVmwareCimCollection()
Method enumerateVmwareCimCollection.boolean
equals(java.lang.Object obj)
Overrides the java.lang.Object.equals method.java.lang.String
getRrdRepository()
Returns the value of field 'rrdRepository'.VmwareCimCollection[]
getVmwareCimCollection()
Method getVmwareCimCollection.Returns the contents of the collection in an Array.VmwareCimCollection
getVmwareCimCollection(int index)
Method getVmwareCimCollection.java.util.List<VmwareCimCollection>
getVmwareCimCollectionCollection()
Method getVmwareCimCollectionCollection.Returns a reference to '_vmwareCimCollectionList'.int
getVmwareCimCollectionCount()
Method getVmwareCimCollectionCount.java.util.Iterator<VmwareCimCollection>
iterateVmwareCimCollection()
Method iterateVmwareCimCollection.void
removeAllVmwareCimCollection()
boolean
removeVmwareCimCollection(VmwareCimCollection vVmwareCimCollection)
Method removeVmwareCimCollection.VmwareCimCollection
removeVmwareCimCollectionAt(int index)
Method removeVmwareCimCollectionAt.void
setRrdRepository(java.lang.String rrdRepository)
Sets the value of field 'rrdRepository'.void
setVmwareCimCollection(int index, VmwareCimCollection vVmwareCimCollection)
void
setVmwareCimCollection(java.util.List<VmwareCimCollection> vVmwareCimCollectionList)
Sets the value of '_vmwareCimCollectionList' by copying the given Vector.void
setVmwareCimCollection(VmwareCimCollection[] vVmwareCimCollectionArray)
-
-
-
Method Detail
-
addVmwareCimCollection
public void addVmwareCimCollection(VmwareCimCollection vVmwareCimCollection) throws java.lang.IndexOutOfBoundsException
- Parameters:
vVmwareCimCollection
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addVmwareCimCollection
public void addVmwareCimCollection(int index, VmwareCimCollection vVmwareCimCollection) throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-vVmwareCimCollection
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
enumerateVmwareCimCollection
public java.util.Enumeration<VmwareCimCollection> enumerateVmwareCimCollection()
Method enumerateVmwareCimCollection.- 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'.
-
getVmwareCimCollection
public VmwareCimCollection getVmwareCimCollection(int index) throws java.lang.IndexOutOfBoundsException
Method getVmwareCimCollection.- Parameters:
index
-- Returns:
- the value of the org.opennms.netmgt.config.vmware.cim.VmwareCimCollection at the given index
- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
getVmwareCimCollection
public VmwareCimCollection[] getVmwareCimCollection()
Method getVmwareCimCollection.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
-
getVmwareCimCollectionCollection
public java.util.List<VmwareCimCollection> getVmwareCimCollectionCollection()
Method getVmwareCimCollectionCollection.Returns a reference to '_vmwareCimCollectionList'. No type checking is performed on any modifications to the Vector.- Returns:
- a reference to the Vector backing this class
-
getVmwareCimCollectionCount
public int getVmwareCimCollectionCount()
Method getVmwareCimCollectionCount.- Returns:
- the size of this collection
-
iterateVmwareCimCollection
public java.util.Iterator<VmwareCimCollection> iterateVmwareCimCollection()
Method iterateVmwareCimCollection.- Returns:
- an Iterator over all possible elements in this collection
-
removeAllVmwareCimCollection
public void removeAllVmwareCimCollection()
-
removeVmwareCimCollection
public boolean removeVmwareCimCollection(VmwareCimCollection vVmwareCimCollection)
Method removeVmwareCimCollection.- Parameters:
vVmwareCimCollection
-- Returns:
- true if the object was removed from the collection.
-
removeVmwareCimCollectionAt
public VmwareCimCollection removeVmwareCimCollectionAt(int index)
Method removeVmwareCimCollectionAt.- 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'.
-
setVmwareCimCollection
public void setVmwareCimCollection(int index, VmwareCimCollection vVmwareCimCollection) throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-vVmwareCimCollection
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
setVmwareCimCollection
public void setVmwareCimCollection(VmwareCimCollection[] vVmwareCimCollectionArray)
- Parameters:
vVmwareCimCollectionArray
-
-
setVmwareCimCollection
public void setVmwareCimCollection(java.util.List<VmwareCimCollection> vVmwareCimCollectionList)
Sets the value of '_vmwareCimCollectionList' by copying the given Vector. All elements will be checked for type safety.- Parameters:
vVmwareCimCollectionList
- the Vector to copy.
-
-