public class JavaJCCode extends BaseGenerator implements IBuiltInSIProcessor
Generates Java code for JDBC and Crackle consumption
utilizeEnums - Not only generates Enum types but also uses them on generated fields and
method parameters and return values.
generateLombok - Generates Lombok annotations for equals, hashCode,
accessor, mutator and toString method implementations, in addition to a builder implementation.
generateLombok flag, ensure that Lombok is on the classpath in client
applications.| Modifier and Type | Field and Description |
|---|---|
static String |
ENTITY_CLASS_SUFFIX |
static String |
FLAG_GEN_LOMBOK |
static String |
FLAG_UTILIZE_ENUMS |
static String |
GENERATE_PROCS_IO_ERROR |
| Constructor and Description |
|---|
JavaJCCode() |
| Modifier and Type | Method and Description |
|---|---|
String |
description()
Generates the procedure classes for each table present.
|
String |
documentation() |
void |
generate(Database database,
String output) |
List<Field> |
getAllEnumFields(Table table) |
addFileToOutputtedFilesList, addFileToOutputtedFilesList, getFlags, getGeneratedOutputFiles, openOutputFileForGeneration, openOutputFileForGeneration, toBooleanclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGeneratedOutputFilesgetFlags, toBooleanpublic static final String GENERATE_PROCS_IO_ERROR
public static final String FLAG_UTILIZE_ENUMS
public static final String FLAG_GEN_LOMBOK
public static final String ENTITY_CLASS_SUFFIX
public String description()
description in interface IGeneratorpublic String documentation()
documentation in interface IGeneratorpublic void generate(Database database, String output)
generate in interface IBuiltInGeneratorCopyright © 2019. All rights reserved.