com.isomorphic.criteria

## Interface Criterion

- All Known Implementing Classes:
    AndCriterion, CustomCriterion, DateRangeCriterion, DoubleRangeCriterion, FloatRangeCriterion, IntegerRangeCriterion, IsNullCriterion, LogicalCriterion, LongRangeCriterion, NotCriterion, NotNullCriterion, OrCriterion, OtherFieldCriterion, RangeCriterion, RelativeDateRangeCriterion, SetCriterion, SimpleCriterion

      public interface Criterion

  An object representing a criterion to apply to a record.

  A criterion is part of the definition of an `AdvancedCriteria` object, which is used to filter records according to search criteria.

  A criterion consists of an operator and typically a fieldName from a Record and a value to compare to. However some operators either don't require a value (eg, isNull) or act on other criteria rather than directly on a Record's fields (eg, the "and" and "or" logical operators).

  See com.isomorphic.criteria.criterion package for Criterion implementations.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getFieldName()` Gets field name to compare against.
    `java.lang.String` | `getOperatorId()` Gets operator id used in search criteria.
    `java.lang.Object` | `getValue()` Gets value used to compare to.
    `void` | `setFieldName(java.lang.String fieldName)` Sets field name to compare against.
    `void` | `setOperatorId(java.lang.String operator)` Sets operator id to use in search criteria.
    `void` | `setValue(java.lang.Object value)` Sets value used to compare to.

- - ### Method Detail

    - #### getOperatorId

          java.lang.String getOperatorId()

      Gets operator id used in search criteria.
      Returns:
        operator id.

    - #### setOperatorId

          void setOperatorId(java.lang.String operator)

      Sets operator id to use in search criteria.
      Parameters:
        `operator` - operator id.

    - #### getFieldName

          java.lang.String getFieldName()

      Gets field name to compare against.
      Returns:
        field name.

    - #### setFieldName

          void setFieldName(java.lang.String fieldName)

      Sets field name to compare against.
      Parameters:
        `fieldName` - field name.

    - #### getValue

          java.lang.Object getValue()

      Gets value used to compare to.
      Returns:
        value to compare to.

    - #### setValue

          void setValue(java.lang.Object value)

      Sets value used to compare to.
      Parameters:
        `value` - to compare to.