Class SimpleValue

  • public class SimpleValue
    extends Object
    A wrapper for the topic/assoc value (atomic, non-null). Supported value types are string, int, long, double, boolean.
    • Constructor Detail

      • SimpleValue

        public SimpleValue​(String value)
        Called by JAX-RS container to create a SimpleValue from a @PathParam or @QueryParam
      • SimpleValue

        public SimpleValue​(int value)
      • SimpleValue

        public SimpleValue​(long value)
      • SimpleValue

        public SimpleValue​(double value)
      • SimpleValue

        public SimpleValue​(boolean value)
      • SimpleValue

        public SimpleValue​(Object value)
    • Method Detail

      • intValue

        public int intValue()
      • longValue

        public long longValue()
      • doubleValue

        public double doubleValue()
      • booleanValue

        public boolean booleanValue()
      • value

        public Object value()
      • trim

        public SimpleValue trim()
        Trims this value in-place, provided it is of type String. Does nothing otherwise.
        this object
      • hashCode

        public int hashCode()
        hashCode in class Object