Class SearchOptionsExtractor

java.lang.Object
nl.datasteel.crudcraft.codegen.reader.field.SearchOptionsExtractor
All Implemented Interfaces:
FieldPartExtractor<SearchOptions>

public class SearchOptionsExtractor extends Object implements FieldPartExtractor<SearchOptions>
Extracts SearchOptions for a field.
  • Field Details

  • Constructor Details

    • SearchOptionsExtractor

      public SearchOptionsExtractor()
  • Method Details

    • extract

      public SearchOptions extract(VariableElement field, ProcessingEnvironment env)
      Extracts SearchOptions from a field annotated with @Searchable.
      Specified by:
      extract in interface FieldPartExtractor<SearchOptions>
      Parameters:
      field - the VariableElement representing the field
      env - the ProcessingEnvironment for accessing annotations and other processing features
      Returns:
      SearchOptions instance containing searchable status, operators, and depth