Class Category

  • All Implemented Interfaces:
    java.io.Serializable

    public class Category
    extends java.lang.Object
    implements java.io.Serializable
    Class Category.
    Version:
    $Revision$ $Date$
    See Also:
    Serialized Form
    • Constructor Detail

      • Category

        public Category()
    • Method Detail

      • addCatSections

        public void addCatSections​(CatSections vCatSections)
                            throws java.lang.IndexOutOfBoundsException
        Parameters:
        vCatSections -
        Throws:
        java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection
      • addCatSections

        public void addCatSections​(int index,
                                   CatSections vCatSections)
                            throws java.lang.IndexOutOfBoundsException
        Parameters:
        index -
        vCatSections -
        Throws:
        java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection
      • deleteCatIndex

        public void deleteCatIndex()
      • deleteIpaddrCount

        public void deleteIpaddrCount()
      • deleteNodeCount

        public void deleteNodeCount()
      • deleteNormal

        public void deleteNormal()
      • deleteServiceCount

        public void deleteServiceCount()
      • deleteWarning

        public void deleteWarning()
      • enumerateCatSections

        public java.util.Enumeration<CatSections> enumerateCatSections()
        Method enumerateCatSections.
        Returns:
        an Enumeration over all possible elements of this collection
      • getCatComments

        public java.lang.String getCatComments()
        Returns the value of field 'catComments'.
        Returns:
        the value of field 'CatComments'.
      • getCatIndex

        public java.lang.Integer getCatIndex()
        Returns the value of field 'catIndex'.
        Returns:
        the value of field 'CatIndex'.
      • getCatName

        public java.lang.String getCatName()
        Returns the value of field 'catName'.
        Returns:
        the value of field 'CatName'.
      • getCatSections

        public CatSections getCatSections​(int index)
                                   throws java.lang.IndexOutOfBoundsException
        Method getCatSections.
        Parameters:
        index -
        Returns:
        the value of the CatSections at the given index
        Throws:
        java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection
      • getCatSections

        public CatSections[] getCatSections()
        Method getCatSections.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
      • getCatSectionsCollection

        public java.util.List<CatSections> getCatSectionsCollection()
        Method getCatSectionsCollection.Returns a reference to 'catSectionsList'. No type checking is performed on any modifications to the Vector.
        Returns:
        a reference to the Vector backing this class
      • getCatSectionsCount

        public int getCatSectionsCount()
        Method getCatSectionsCount.
        Returns:
        the size of this collection
      • getIpaddrCount

        public java.lang.Integer getIpaddrCount()
        Returns the value of field 'ipaddrCount'.
        Returns:
        the value of field 'IpaddrCount'.
      • getNodeCount

        public java.lang.Integer getNodeCount()
        Returns the value of field 'nodeCount'.
        Returns:
        the value of field 'NodeCount'.
      • getNormal

        public java.lang.Double getNormal()
        Returns the value of field 'normal'.
        Returns:
        the value of field 'Normal'.
      • getServiceCount

        public java.lang.Integer getServiceCount()
        Returns the value of field 'serviceCount'.
        Returns:
        the value of field 'ServiceCount'.
      • getWarning

        public java.lang.Double getWarning()
        Returns the value of field 'warning'.
        Returns:
        the value of field 'Warning'.
      • hasCatIndex

        public boolean hasCatIndex()
        Method hasCatIndex.
        Returns:
        true if at least one CatIndex has been added
      • hasIpaddrCount

        public boolean hasIpaddrCount()
        Method hasIpaddrCount.
        Returns:
        true if at least one IpaddrCount has been added
      • hasNodeCount

        public boolean hasNodeCount()
        Method hasNodeCount.
        Returns:
        true if at least one NodeCount has been added
      • hasNormal

        public boolean hasNormal()
        Method hasNormal.
        Returns:
        true if at least one Normal has been added
      • hasServiceCount

        public boolean hasServiceCount()
        Method hasServiceCount.
        Returns:
        true if at least one ServiceCount has been added
      • hasWarning

        public boolean hasWarning()
        Method hasWarning.
        Returns:
        true if at least one Warning has been added
      • iterateCatSections

        public java.util.Iterator<CatSections> iterateCatSections()
        Method iterateCatSections.
        Returns:
        an Iterator over all possible elements in this collection
      • removeAllCatSections

        public void removeAllCatSections()
      • removeCatSections

        public boolean removeCatSections​(CatSections vCatSections)
        Method removeCatSections.
        Parameters:
        vCatSections -
        Returns:
        true if the object was removed from the collection.
      • removeCatSectionsAt

        public CatSections removeCatSectionsAt​(int index)
        Method removeCatSectionsAt.
        Parameters:
        index -
        Returns:
        the element removed from the collection
      • setCatComments

        public void setCatComments​(java.lang.String catComments)
        Sets the value of field 'catComments'.
        Parameters:
        catComments - the value of field 'catComments'.
      • setCatIndex

        public void setCatIndex​(java.lang.Integer catIndex)
        Sets the value of field 'catIndex'.
        Parameters:
        catIndex - the value of field 'catIndex'.
      • setCatName

        public void setCatName​(java.lang.String catName)
        Sets the value of field 'catName'.
        Parameters:
        catName - the value of field 'catName'.
      • setCatSections

        public void setCatSections​(int index,
                                   CatSections vCatSections)
                            throws java.lang.IndexOutOfBoundsException
        Parameters:
        index -
        vCatSections -
        Throws:
        java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection
      • setCatSections

        public void setCatSections​(CatSections[] vCatSectionsArray)
        Parameters:
        vCatSectionsArray -
      • setCatSections

        public void setCatSections​(java.util.List<CatSections> vCatSectionsList)
        Sets the value of 'catSectionsList' by copying the given Vector. All elements will be checked for type safety.
        Parameters:
        vCatSectionsList - the Vector to copy.
      • setCatSectionsCollection

        public void setCatSectionsCollection​(java.util.List<CatSections> catSectionsList)
        Deprecated.
        Sets the value of 'catSectionsList' by setting it to the given Vector. No type checking is performed.
        Parameters:
        catSectionsList - the Vector to set.
      • setIpaddrCount

        public void setIpaddrCount​(java.lang.Integer ipaddrCount)
        Sets the value of field 'ipaddrCount'.
        Parameters:
        ipaddrCount - the value of field 'ipaddrCount'.
      • setNodeCount

        public void setNodeCount​(java.lang.Integer nodeCount)
        Sets the value of field 'nodeCount'.
        Parameters:
        nodeCount - the value of field 'nodeCount'.
      • setNormal

        public void setNormal​(java.lang.Double normal)
        Sets the value of field 'normal'.
        Parameters:
        normal - the value of field 'normal'.
      • setServiceCount

        public void setServiceCount​(java.lang.Integer serviceCount)
        Sets the value of field 'serviceCount'.
        Parameters:
        serviceCount - the value of field 'serviceCount'.
      • setWarning

        public void setWarning​(java.lang.Double warning)
        Sets the value of field 'warning'.
        Parameters:
        warning - the value of field 'warning'.