Class Category


  • public class Category
    extends Object

    Java class for anonymous complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType>
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="catlabel" type="{http://www.w3.org/2001/XMLSchema}string"/>
             <element name="catvalue" type="{http://www.w3.org/2001/XMLSchema}double"/>
             <element ref="{http://xmlns.opennms.org/xsd/rtceui}node" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • catlabel

        protected String catlabel
      • catvalue

        protected double catvalue
    • Constructor Detail

      • Category

        public Category()
    • Method Detail

      • getCatlabel

        public String getCatlabel()
        Gets the value of the catlabel property.
        Returns:
        possible object is String
      • setCatlabel

        public void setCatlabel​(String value)
        Sets the value of the catlabel property.
        Parameters:
        value - allowed object is String
      • getCatvalue

        public double getCatvalue()
        Gets the value of the catvalue property.
      • setCatvalue

        public void setCatvalue​(double value)
        Sets the value of the catvalue property.
      • getNode

        public List<Node> getNode()
        A node that belongs to this category Gets the value of the node property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the node property.

        For example, to add a new item, do as follows:

            getNode().add(newItem);
         

        Objects of the following type(s) are allowed in the list Node

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object