Class PropertyValue

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<PropertyValue>

    public class PropertyValue
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Comparable<PropertyValue>
    A property value
    See Also:
    Serialized Form
    • Field Detail

      • TYPE_

        public static final Name TYPE_
        Name of the hydra.pg.query.PropertyValue type.
      • VALUE

        public static final Name VALUE
        Name of the hydra.pg.query.PropertyValue.value field.
      • value

        public final java.lang.String value
    • Constructor Detail

      • PropertyValue

        public PropertyValue​(java.lang.String value)
        Constructs an immutable PropertyValue.
    • Method Detail

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

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

        public int compareTo​(PropertyValue other)
        Specified by:
        compareTo in interface java.lang.Comparable<PropertyValue>