File : Generator Catalog
This is the reference for generator-catalog attribute in daogen-config.
Generator catalog must define 2 generator catalogs :
- Entity Catalog, containing list of generators that will be applied for every entity (entity_generators or entity_generators_helper)
- Factory Catalog, containing list of generators taht will be applied only once for run (factory_generators or factory_generators_helper)
If daogen-config attribute src-helpers is definied, generator catalogs used will be :
- entity_generators_helper
- factory_generators_helper
otherwise
- entity_generators
- factory_generators
Generally speaking generators in the catalog will extends DaogenBasicGenerator
Here is the default genetaor catalog :
Default Generator Catalog
Default entity_generators_base Catalog |
ID |
Description |
ModelGenerator |
Generator for interface ${Entity}Model |
HelperGenerator |
Generator for class ${Entity}Helper, basic implementation of ${Entity}Model |
WrapperGenerator |
Generator for class ${Entity}Wrapper implementing ${Entity}Model, wrapping another ${Entity}Model |
StructGenerator |
Generator for class Ut${Entity} implementing ${Entity}Model, mapping data base user type (struct) |
FinderGenerator |
Generator for class ${Entity}Finder, a simple finder object for ${Entity} |
RSEGenerator |
Generator for class ${Entity}RSE, simple mapper from java.sql.ResultSet record to ${Entity}Model |
DocOpenAPIRestGenerator |
Generator fpr sample ${Entity}.yaml to use as basic definition for rest services |
Junit4ModelGenerator |
Generator for class ${Entity}Junit4ModelTest for basic unit test with junit 4 |
Junit5ModelGenerator |
Generator for class ${Entity}Junit5ModelTest for basic unit test with junit 5 |
top
Default entity_generators_helper Catalog |
ID |
Description |
FacadeDefHelperGenerator |
Generator for interface ${Entity}FacadeHelper (overwritten at every generation), helper interface for ${Entity}Model persistance |
FacadeDefRealGenerator |
Generator for interface ${Entity}Facade, interface for ${Entity}Model persistance |
FacadeImplDataHelperGenerator |
Generator for class Data${Entity}FacadeHelper (overwritten at every generation), helper class for ${Entity}Model persistance |
FacadeImplDataRealGenerator |
Generator for class Data${Entity}Facade, class for ${Entity}Model persistance |
RestLoadHelperGenerator |
Generator for class Load${Entity}Helper (overwritten at every generation), helper rest service for ${Entity}Model |
RestLoadRealGenerator |
Generator for class Load${Entity}, rest service for ${Entity}Model |
top
Generator ModelGenerator
Type |
org.fugerit.java.daogen.base.gen.ModelGenerator |
Check value |
package-model |
Group |
entity_generators_base |
Resources |
src -
javadoc
|
Since |
0.4.1.11 |
top
Generator HelperGenerator
Type |
org.fugerit.java.daogen.base.gen.HelperGenerator |
Check value |
package-helper |
Group |
entity_generators_base |
Since |
0.4.1.11 |
top
Generator WrapperGenerator
Type |
org.fugerit.java.daogen.base.gen.WrapperGenerator |
Check value |
package-helper |
Group |
entity_generators_base |
Since |
0.4.1.11 |
top
Generator StructGenerator
Type |
org.fugerit.java.daogen.base.gen.StructGenerator |
Check value |
package-struct |
Group |
entity_generators_base |
Since |
0.4.1.11 |
top
Generator FinderGenerator
Type |
org.fugerit.java.daogen.base.gen.FinderGenerator |
Check value |
package-facade-def< |
Group |
entity_generators_base |
Since |
0.4.1.11 |
top
Generator RSEGenerator
Type |
org.fugerit.java.daogen.base.gen.RSEGenerator |
Check value |
package-rse |
Group |
entity_generators_base |
Since |
0.4.1.11 |
top
Generator DocOpenAPIV3RestGenerator
Type |
org.fugerit.java.daogen.base.gen.DocOpenAPIV3RestGenerator |
Check value |
src-doc-openapi |
Group |
entity_generators_base |
Since |
0.4.1.11 |
top
Generator FacadeDefHelperGenerator
Type |
org.fugerit.java.daogen.base.gen.helper.FacadeDefHelperGenerator |
Check value |
package-facade-def |
Group |
entity_generators_helper |
Since |
0.4.1.11 |
top
Generator FacadeDefRealGenerator
Type |
org.fugerit.java.daogen.base.gen.helper.FacadeDefRealGenerator |
Check value |
package-facade-def |
Group |
entity_generators_helper |
Since |
0.4.1.11 |
top
Generator FacadeImplDataHelperGenerator
Type |
org.fugerit.java.daogen.base.gen.helper.FacadeImplDataHelperGenerator |
Check value |
package-facade-data-impl |
Group |
entity_generators_helper |
Since |
0.4.1.11 |
top
Generator FacadeImplDataHelperGenerator
Type |
org.fugerit.java.daogen.base.gen.helper.FacadeImplDataHelperGenerator |
Check value |
package-facade-data-impl |
Group |
entity_generators_helper |
Since |
0.4.1.11 |
top
Generator RestLoadHelperGenerator
Type |
org.fugerit.java.daogen.base.gen.helper.RestLoadHelperGenerator |
Check value |
package-rest-load |
Group |
entity_generators_helper |
Since |
0.4.1.11 |
top
Generator RestLoadRealGenerator
Type |
org.fugerit.java.daogen.base.gen.helper.RestLoadRealGenerator |
Check value |
package-rest-load |
Group |
entity_generators_helper |
Since |
0.4.1.11 |