Class Range

  • All Implemented Interfaces:
    java.io.Serializable

    @JsonData
    public class Range
    extends java.lang.Object
    implements java.io.Serializable
    A Range is an immutable range of values between two limit values. The two limit values can be included in the range, but do not have to be. The value types of the objects set should be:
    String for STRING
    Double for NUMBER and CURRENCY
    Boolean for BOOLEAN
    Date for DATE and DATETIME
    Time for TIME
    byte[] for BINARY
    Since:
    7.8
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Range​(java.lang.Object lower, java.lang.Object upper, boolean includeLower, boolean includeUpper)
      Creates a new range with the given lower and upper limits The value types of the objects set should be:
      String for STRING
      Double for NUMBER and CURRENCY
      Boolean for BOOLEAN
      Date for DATE and DATETIME
      Time for TIME
      byte[] for BINARY
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Range

        public Range​(java.lang.Object lower,
                     java.lang.Object upper,
                     boolean includeLower,
                     boolean includeUpper)
        Creates a new range with the given lower and upper limits The value types of the objects set should be:
        String for STRING
        Double for NUMBER and CURRENCY
        Boolean for BOOLEAN
        Date for DATE and DATETIME
        Time for TIME
        byte[] for BINARY
        Parameters:
        lower - lower limit of the range
        upper - upper limit of the range
        includeLower - whether to include the lower limit in the range
        includeUpper - whether to include the upper limit in the range
        Since:
        7.8