Interface ICriteria

All Superinterfaces:
IExpression
All Known Implementing Classes:
Criteria

public interface ICriteria extends IExpression
An criteria to compare the storage field's value with some specified value.

Note that it is assumed the implementations of this interface are immutable and thread safe. So it's highly recommended using the Criteries utility class to create criteries.

See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    Operation to compare the field's value and this criteria value.
    static enum 
    Available storage fields to query.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the field of translation storage of which value comparing with this criteria value.
     
    Returns the value to compare with the field.

    Methods inherited from interface com.e1c.langtool.history.db.query.IExpression

    accept
  • Method Details

    • getField

      ICriteria.Field getField()
      Returns the field of translation storage of which value comparing with this criteria value.
      Returns:
      the storage field. Can't be null.
    • getValue

      Object getValue()
      Returns the value to compare with the field.
      Returns:
      the value to compare. Can't be null.
    • getOperator

      ICriteria.CompareOp getOperator()