Class Range


  • public class Range
    extends AttributeableEntity
    A numerical value range This class is not thread safe.
    • Constructor Detail

      • Range

        public Range()
    • Method Detail

      • fromJSONObject

        public void fromJSONObject​(javax.json.JsonObject jsonObj)
                            throws IOException
        Extract the metadata from the JSON object. This method first calls clear()
        Overrides:
        fromJSONObject in class AttributeableEntity
        Parameters:
        jsonObj - The JSON Object
        Throws:
        IOException - If JSON parsing fails
      • getMin

        public Number getMin()
        Get the min value
        Returns:
        the min or null
      • setMin

        public void setMin​(Number min)
        Set the min value
        Parameters:
        min - the min to set
      • getMax

        public Number getMax()
        Get the max value
        Returns:
        the max or null
      • setMax

        public void setMax​(Number max)
        Set the max value
        Parameters:
        max - the max to set