Class ImmutableTag

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<org.opennms.integration.api.v1.timeseries.Tag>, org.opennms.integration.api.v1.timeseries.Tag

    public class ImmutableTag
    extends java.lang.Object
    implements org.opennms.integration.api.v1.timeseries.Tag, java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ImmutableTag​(java.lang.String value)  
      ImmutableTag​(java.lang.String key, java.lang.String value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compareTo​(org.opennms.integration.api.v1.timeseries.Tag other)  
      boolean equals​(java.lang.Object o)  
      java.lang.String getKey()  
      java.lang.String getValue()  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ImmutableTag

        public ImmutableTag​(java.lang.String key,
                            java.lang.String value)
      • ImmutableTag

        public ImmutableTag​(java.lang.String value)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getKey

        public java.lang.String getKey()
        Specified by:
        getKey in interface org.opennms.integration.api.v1.timeseries.Tag
      • getValue

        public java.lang.String getValue()
        Specified by:
        getValue in interface org.opennms.integration.api.v1.timeseries.Tag
      • equals

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

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

        public int compareTo​(org.opennms.integration.api.v1.timeseries.Tag other)
        Specified by:
        compareTo in interface java.lang.Comparable<org.opennms.integration.api.v1.timeseries.Tag>
        Specified by:
        compareTo in interface org.opennms.integration.api.v1.timeseries.Tag