Class SearchGenerator
java.lang.Object
nl.datasteel.crudcraft.codegen.writer.SearchGenerator
- All Implemented Interfaces:
Generator
Generates a SearchRequest DTO and Specification implementation for
each CrudCraft entity that has @Searchable fields.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList
<com.squareup.javapoet.JavaFile> generate
(ModelDescriptor md, WriteContext ctx) Generates the SearchRequest DTO and Specification for the given model descriptor.int
order()
Determines the execution order within the generator group (basic or CRUD).Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface nl.datasteel.crudcraft.codegen.writer.Generator
requiresCrudEntity, write
-
Constructor Details
-
SearchGenerator
public SearchGenerator()
-
-
Method Details
-
generate
Generates the SearchRequest DTO and Specification for the given model descriptor. -
order
public int order()Description copied from interface:Generator
Determines the execution order within the generator group (basic or CRUD). Lower values run first.
-