Class Group


  • public class Group
    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 ref="{http://xmlns.opennms.org/xsd/config/prometheus-datacollection}numeric-attribute" maxOccurs="unbounded"/>
             <element ref="{http://xmlns.opennms.org/xsd/config/prometheus-datacollection}string-attribute" maxOccurs="unbounded"/>
           </sequence>
           <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="resource-type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="filter-exp" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="group-by-exp" type="{http://www.w3.org/2001/XMLSchema}string" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • Group

        public Group()
    • Method Detail

      • getNumericAttribute

        public List<NumericAttribute> getNumericAttribute()
        Gets the value of the numericAttribute 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 numericAttribute property.

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

            getNumericAttribute().add(newItem);
         

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

      • getStringAttribute

        public List<StringAttribute> getStringAttribute()
        Gets the value of the stringAttribute 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 stringAttribute property.

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

            getStringAttribute().add(newItem);
         

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

      • getName

        public String getName()
        Gets the value of the name property.
        Returns:
        possible object is String
      • setName

        public void setName​(String value)
        Sets the value of the name property.
        Parameters:
        value - allowed object is String
      • getResourceType

        public String getResourceType()
        Gets the value of the resourceType property.
        Returns:
        possible object is String
      • setResourceType

        public void setResourceType​(String value)
        Sets the value of the resourceType property.
        Parameters:
        value - allowed object is String
      • getFilterExp

        public String getFilterExp()
        Gets the value of the filterExp property.
        Returns:
        possible object is String
      • setFilterExp

        public void setFilterExp​(String value)
        Sets the value of the filterExp property.
        Parameters:
        value - allowed object is String
      • getGroupByExp

        public String getGroupByExp()
        Gets the value of the groupByExp property.
        Returns:
        possible object is String
      • setGroupByExp

        public void setGroupByExp​(String value)
        Sets the value of the groupByExp property.
        Parameters:
        value - allowed object is String
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object