Class Collection

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class Collection
    extends java.lang.Object
    implements java.lang.Cloneable

    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}rrd"/>
             <element name="group-ref" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
           </sequence>
           <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.List<java.lang.String> groupRef  
      protected java.lang.String name  
      protected Rrd rrd  
    • Constructor Summary

      Constructors 
      Constructor Description
      Collection()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object other)  
      java.util.List<java.lang.String> getGroupRef()
      Gets the value of the groupRef property.
      java.lang.String getName()
      Gets the value of the name property.
      Rrd getRrd()
      Gets the value of the rrd property.
      int hashCode()  
      void setName​(java.lang.String value)
      Sets the value of the name property.
      void setRrd​(Rrd value)
      Sets the value of the rrd property.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • rrd

        protected Rrd rrd
      • groupRef

        protected java.util.List<java.lang.String> groupRef
      • name

        protected java.lang.String name
    • Constructor Detail

      • Collection

        public Collection()
    • Method Detail

      • getRrd

        public Rrd getRrd()
        Gets the value of the rrd property.
        Returns:
        possible object is Rrd
      • setRrd

        public void setRrd​(Rrd value)
        Sets the value of the rrd property.
        Parameters:
        value - allowed object is Rrd
      • getGroupRef

        public java.util.List<java.lang.String> getGroupRef()
        Gets the value of the groupRef 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 groupRef property.

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

            getGroupRef().add(newItem);
         

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

      • 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
      • 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