Class SearchOptionsExtractor
java.lang.Object
nl.datasteel.crudcraft.codegen.reader.field.SearchOptionsExtractor
- All Implemented Interfaces:
FieldPartExtractor<SearchOptions>
Extracts
SearchOptions
for a field.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextract
(VariableElement field, ProcessingEnvironment env) Extracts SearchOptions from a field annotated with @Searchable.
-
Field Details
-
INSTANCE
Singleton instance.
-
-
Constructor Details
-
SearchOptionsExtractor
public SearchOptionsExtractor()
-
-
Method Details
-
extract
Extracts SearchOptions from a field annotated with @Searchable.- Specified by:
extract
in interfaceFieldPartExtractor<SearchOptions>
- Parameters:
field
- the VariableElement representing the fieldenv
- the ProcessingEnvironment for accessing annotations and other processing features- Returns:
- SearchOptions instance containing searchable status, operators, and depth
-