All Known Implementing Classes:
SimpleField

public interface Field
Defines a Field that can be used within a Criteria.
Author:
Rizwan Idrees, Mohsin Husen, Peter-Josef Meisch
  • Method Details

    • setName

      void setName(String name)
    • getName

      String getName()
    • setFieldType

      void setFieldType(FieldType fieldType)
      Parameters:
      fieldType - sets the field's type
    • getFieldType

      @Nullable FieldType getFieldType()
      Returns:
      The annotated FieldType of the field
    • setPath

      void setPath(@Nullable String path)
      Sets the path if this field has a multi-part name that should be used in a nested query.
      Parameters:
      path - the value to set
      Since:
      4.2
    • getPath

      @Nullable String getPath()
      Returns:
      the path if this is a field for a nested query
      Since:
      4.2