Class VmwareCollection

    • Constructor Detail

      • VmwareCollection

        public VmwareCollection()
    • Method Detail

      • equals

        public boolean equals​(Object obj)
        Overrides the java.lang.Object.equals method.
        Overrides:
        equals in class Object
        Parameters:
        obj -
        Returns:
        true if the objects are equal.
      • getName

        public String getName()
        Returns the value of field 'name'.
        Returns:
        the value of field 'Name'.
      • getRrd

        public Rrd getRrd()
        Returns the value of field 'rrd'. The field 'rrd' has the following description: RRD parms
        Returns:
        the value of field 'Rrd'.
      • enumerateVmwareGroup

        public Enumeration<VmwareGroup> enumerateVmwareGroup()
        Method enumerateVmwareGroup.
        Returns:
        an Enumeration over all possible elements of this collection
      • getVmwareGroup

        public VmwareGroup getVmwareGroup​(int index)
                                   throws IndexOutOfBoundsException
        Method getVmwareGroup.
        Parameters:
        index -
        Returns:
        the value of the org.opennms.netmgt.config.vmware.vijava.VmwareGroup at the given index
        Throws:
        IndexOutOfBoundsException - if the index given is outside the bounds of the collection
      • getVmwareGroup

        public VmwareGroup[] getVmwareGroup()
        Method getVmwareGroup.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
      • getVmwareGroupCollection

        public List<VmwareGroup> getVmwareGroupCollection()
        Method getVmwareGroupCollection.Returns a reference to '_vmwareGroupList'. No type checking is performed on any modifications to the Vector.
        Returns:
        a reference to the Vector backing this class
      • getVmwareGroupCount

        public int getVmwareGroupCount()
        Method getVmwareGroupCount.
        Returns:
        the size of this collection
      • iterateVmwareGroup

        public Iterator<VmwareGroup> iterateVmwareGroup()
        Method iterateVmwareGroup.
        Returns:
        an Iterator over all possible elements in this collection
      • removeAllVmwareGroup

        public void removeAllVmwareGroup()
      • removeVmwareGroup

        public boolean removeVmwareGroup​(VmwareGroup vVmwareGroup)
        Method removeVmwareGroup.
        Parameters:
        vVmwareGroup -
        Returns:
        true if the object was removed from the collection.
      • removeVmwareGroupAt

        public VmwareGroup removeVmwareGroupAt​(int index)
        Method removeVmwareGroupAt.
        Parameters:
        index -
        Returns:
        the element removed from the collection
      • setVmwareGroup

        public void setVmwareGroup​(VmwareGroup[] vVmwareGroupArray)
        Parameters:
        vVmwareGroupArray -
      • setVmwareGroup

        public void setVmwareGroup​(List<VmwareGroup> vVmwareGroupList)
        Sets the value of '_vmwareGroupList' by copying the given Vector. All elements will be checked for type safety.
        Parameters:
        vVmwareGroupList - the Vector to copy.
      • setName

        public void setName​(String name)
        Sets the value of field 'name'.
        Parameters:
        name - the value of field 'name'.
      • setRrd

        public 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'.