com.isomorphic.criteria.criterion

## Class RangeCriterion

- java.lang.Object
- - com.isomorphic.criteria.criterion.RangeCriterion

- All Implemented Interfaces:
    Criterion
  Direct Known Subclasses:
    DateRangeCriterion, DoubleRangeCriterion, FloatRangeCriterion, IntegerRangeCriterion, LongRangeCriterion, RelativeDateRangeCriterion

      public class RangeCriterion
      extends java.lang.Object
      implements Criterion

  Criterion for range of comparable values.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RangeCriterion(java.lang.String fieldName, OperatorBase operator, java.lang.Comparable minValue, java.lang.Comparable maxValue)` Construtor by parameters:
    `RangeCriterion(java.lang.String fieldName, java.lang.String operatorId, java.lang.Comparable minValue, java.lang.Comparable maxValue)` Construtor by parameters:

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Comparable` | `getMax()` Gets max value of field.
    `java.lang.Comparable` | `getMin()` Gets min value of field.
    `void` | `setMax(java.lang.Comparable value)` Sets max value of field.
    `void` | `setMin(java.lang.Comparable value)` Sets min value of field.

    - ### Methods inherited from interface com.isomorphic.criteria.Criterion

      `getFieldName, getOperatorId, getValue, setFieldName, setOperatorId, setValue`

- - ### Constructor Detail

    - #### RangeCriterion

          public RangeCriterion(java.lang.String fieldName,
                                java.lang.String operatorId,
                                java.lang.Comparable minValue,
                                java.lang.Comparable maxValue)

      Construtor by parameters:
      Parameters:
        `fieldName` - - name of field that will be checked.
        `operatorId` - - operator that determines checking logic.
        `minValue` - - min value of field
        `maxValue` - - max value of field

    - #### RangeCriterion

          public RangeCriterion(java.lang.String fieldName,
                                OperatorBase operator,
                                java.lang.Comparable minValue,
                                java.lang.Comparable maxValue)

      Construtor by parameters:
      Parameters:
        `fieldName` - - name of field that will be checked.
        `operator` - - operator that determines checking logic. This is likely to be a member of the `DefaultOperators` class, such as IContains or GreaterThan.
        `minValue` - - min value of field
        `maxValue` - - max value of field

  - ### Method Detail

    - #### setMin

          public void setMin(java.lang.Comparable value)

      Sets min value of field.
      Parameters:
        `value` - min value.

    - #### getMin

          public java.lang.Comparable getMin()

      Gets min value of field.
      Returns:
        min value.

    - #### setMax

          public void setMax(java.lang.Comparable value)

      Sets max value of field.
      Parameters:
        `value` - max value.

    - #### getMax

          public java.lang.Comparable getMax()

      Gets max value of field.
      Returns:
        max value.