Annotation Interface Searchable
Marks a field as searchable and optionally restricts the allowed
operators. The annotation is processed at compile
time by the CrudCraft annotation processor to generate type safe search
helpers. It is not retained at runtime.-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionintOptional search depth when the annotation is applied on an entity class.The set of allowed operators for this field.
-
Element Details
-
operators
SearchOperator[] operatorsThe set of allowed operators for this field. When empty a default set based on the field type is used by the code generator.- Default:
{}
-
depth
int depthOptional search depth when the annotation is applied on an entity class. When omitted the global configuration is used.- Default:
1
-