Package com.isomorphic.criteria

# Interface Operator

All Known Implementing Classes:
  `LogicalOperator`, `OperatorBase`, `OtherFieldOperator`, `RangeOperator`, `SimpleOperator`

public interface Operator
Operators handle criteria matching logic.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `condition(Map record, Criterion criterion, Evaluator evaluator)`
  Check if passed record matches passed criterion.
  `String`
  `getID()`
  Get Operator identifier that used on client side or to store criteria data in maps.

- ## Method Details

  - ### getID

    String getID()
    Get Operator identifier that used on client side or to store criteria data in maps.
    Returns:
      operator identifier.

  - ### condition

    boolean condition(Map record, Criterion criterion, Evaluator evaluator) throws Exception
    Check if passed record matches passed criterion.
    Parameters:
      `record` - - record to match.
      `criterion` - - criterion to match.
      `evaluator` - - Evaluator object.
    Returns:
      true if passed record matches passed criterion.
    Throws:
      `Exception`