Class Group


  • public class Group
    extends java.lang.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>
     
    • Field Detail

      • stringAttribute

        protected java.util.List<StringAttribute> stringAttribute
      • name

        protected java.lang.String name
      • resourceType

        protected java.lang.String resourceType
      • filterExp

        protected java.lang.String filterExp
      • groupByExp

        protected java.lang.String groupByExp
    • Constructor Detail

      • Group

        public Group()
    • Method Detail

      • getNumericAttribute

        public java.util.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 java.util.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 java.lang.String getName()
        Gets the value of the name property.
        Returns:
        possible object is String
      • setName

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

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

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

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

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

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

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

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object