Class JavaCodeFactory
java.lang.Object
org.tentackle.maven.plugin.wizard.pdodata.JavaCodeFactory
Factory generating Java code that creates PDOs.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringStereotype for attributes and relations to skip test code generation. -
Method Summary
Modifier and TypeMethodDescriptiongenerate()Generates the Java code.static StringgenerateCode(Map<String, Boolean> configuration, DataObject... dataObjects) Generates code from a data object template.
-
Field Details
-
NOTEST_STEREOTYPE
Stereotype for attributes and relations to skip test code generation.- See Also:
-
-
Method Details
-
generateCode
Generates code from a data object template.- Parameters:
configuration- optional configuration mapdataObjects- the data objects- Returns:
- the Java code
-
generate
Generates the Java code.- Returns:
- the code
-