Class VmwareCimCollection
- java.lang.Object
- 
- org.opennms.netmgt.config.vmware.cim.VmwareCimCollection
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class VmwareCimCollection extends Object implements Serializable A grouping of VMware related RRD parms and performance counter groups- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description VmwareCimCollection()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddVmwareCimGroup(int index, VmwareCimGroup vVmwareCimGroup)voidaddVmwareCimGroup(VmwareCimGroup vVmwareCimGroup)Enumeration<VmwareCimGroup>enumerateVmwareCimGroup()Method enumerateVmwareCimGroup.booleanequals(Object obj)Overrides the java.lang.Object.equals method.StringgetName()Returns the value of field 'name'.RrdgetRrd()Returns the value of field 'rrd'.VmwareCimGroup[]getVmwareCimGroup()Method getVmwareCimGroup.Returns the contents of the collection in an Array.VmwareCimGroupgetVmwareCimGroup(int index)Method getVmwareCimGroup.List<VmwareCimGroup>getVmwareCimGroupCollection()Method getVmwareCimGroupCollection.Returns a reference to '_vmwareCimGroupList'.intgetVmwareCimGroupCount()Method getVmwareCimGroupCount.Iterator<VmwareCimGroup>iterateVmwareCimGroup()Method iterateVmwareCimGroup.voidremoveAllVmwareCimGroup()booleanremoveVmwareCimGroup(VmwareCimGroup vVmwareCimGroup)Method removeVmwareCimGroup.VmwareCimGroupremoveVmwareCimGroupAt(int index)Method removeVmwareCimGroupAt.voidsetName(String name)Sets the value of field 'name'.voidsetRrd(Rrd rrd)Sets the value of field 'rrd'.voidsetVmwareCimGroup(int index, VmwareCimGroup vVmwareCimGroup)voidsetVmwareCimGroup(List<VmwareCimGroup> vVmwareCimGroupList)Sets the value of '_vmwareCimGroupList' by copying the given Vector.voidsetVmwareCimGroup(VmwareCimGroup[] vVmwareCimGroupArray)
 
- 
- 
- 
Method Detail- 
equalspublic boolean equals(Object obj) Overrides the java.lang.Object.equals method.
 - 
getNamepublic String getName() Returns the value of field 'name'.- Returns:
- the value of field 'Name'.
 
 - 
getRrdpublic Rrd getRrd() Returns the value of field 'rrd'. The field 'rrd' has the following description: RRD parms- Returns:
- the value of field 'Rrd'.
 
 - 
addVmwareCimGrouppublic void addVmwareCimGroup(VmwareCimGroup vVmwareCimGroup) throws IndexOutOfBoundsException - Parameters:
- vVmwareCimGroup-
- Throws:
- IndexOutOfBoundsException- if the index given is outside the bounds of the collection
 
 - 
addVmwareCimGrouppublic void addVmwareCimGroup(int index, VmwareCimGroup vVmwareCimGroup) throws IndexOutOfBoundsException- Parameters:
- index-
- vVmwareCimGroup-
- Throws:
- IndexOutOfBoundsException- if the index given is outside the bounds of the collection
 
 - 
enumerateVmwareCimGrouppublic Enumeration<VmwareCimGroup> enumerateVmwareCimGroup() Method enumerateVmwareCimGroup.- Returns:
- an Enumeration over all possible elements of this collection
 
 - 
setNamepublic void setName(String name) Sets the value of field 'name'.- Parameters:
- name- the value of field 'name'.
 
 - 
setRrdpublic void setRrd(Rrd rrd) Sets the value of field 'rrd'. The field 'rrd' has the following description: RRD parms- Parameters:
- rrd- the value of field 'rrd'.
 
 - 
getVmwareCimGrouppublic VmwareCimGroup getVmwareCimGroup(int index) throws IndexOutOfBoundsException Method getVmwareCimGroup.- Parameters:
- index-
- Returns:
- the value of the org.opennms.netmgt.config.vmware.cim.VmwareCimGroup at the given index
- Throws:
- IndexOutOfBoundsException- if the index given is outside the bounds of the collection
 
 - 
getVmwareCimGrouppublic VmwareCimGroup[] getVmwareCimGroup() Method getVmwareCimGroup.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
 
 - 
getVmwareCimGroupCollectionpublic List<VmwareCimGroup> getVmwareCimGroupCollection() Method getVmwareCimGroupCollection.Returns a reference to '_vmwareCimGroupList'. No type checking is performed on any modifications to the Vector.- Returns:
- a reference to the Vector backing this class
 
 - 
getVmwareCimGroupCountpublic int getVmwareCimGroupCount() Method getVmwareCimGroupCount.- Returns:
- the size of this collection
 
 - 
iterateVmwareCimGrouppublic Iterator<VmwareCimGroup> iterateVmwareCimGroup() Method iterateVmwareCimGroup.- Returns:
- an Iterator over all possible elements in this collection
 
 - 
removeAllVmwareCimGrouppublic void removeAllVmwareCimGroup() 
 - 
removeVmwareCimGrouppublic boolean removeVmwareCimGroup(VmwareCimGroup vVmwareCimGroup) Method removeVmwareCimGroup.- Parameters:
- vVmwareCimGroup-
- Returns:
- true if the object was removed from the collection.
 
 - 
removeVmwareCimGroupAtpublic VmwareCimGroup removeVmwareCimGroupAt(int index) Method removeVmwareCimGroupAt.- Parameters:
- index-
- Returns:
- the element removed from the collection
 
 - 
setVmwareCimGrouppublic void setVmwareCimGroup(int index, VmwareCimGroup vVmwareCimGroup) throws IndexOutOfBoundsException- Parameters:
- index-
- vVmwareCimGroup-
- Throws:
- IndexOutOfBoundsException- if the index given is outside the bounds of the collection
 
 - 
setVmwareCimGrouppublic void setVmwareCimGroup(VmwareCimGroup[] vVmwareCimGroupArray) - Parameters:
- vVmwareCimGroupArray-
 
 - 
setVmwareCimGrouppublic void setVmwareCimGroup(List<VmwareCimGroup> vVmwareCimGroupList) Sets the value of '_vmwareCimGroupList' by copying the given Vector. All elements will be checked for type safety.- Parameters:
- vVmwareCimGroupList- the Vector to copy.
 
 
- 
 
-