Package | Description |
---|---|
com.landawn.abacus.util |
Modifier and Type | Method and Description |
---|---|
static CodeGenerator.ParentPropertyMode |
CodeGenerator.ParentPropertyMode.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CodeGenerator.ParentPropertyMode[] |
CodeGenerator.ParentPropertyMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static void |
CodeGenerator.generateEntity(java.io.File srcDir,
java.lang.String packageName,
java.lang.String className,
java.util.Map<java.lang.String,?> fields,
boolean constructor,
boolean copyMethod,
boolean fluentSetter,
java.util.Map<java.lang.String,java.lang.String> fieldName2MethodName,
java.lang.Class<?> parentClass,
CodeGenerator.ParentPropertyMode parentPropertyModeForHashEquals,
CodeGenerator.ParentPropertyMode parentPropertyModeForToString,
java.lang.Class<?> utilClassForHashEqualsToString) |
static void |
CodeGenerator.writeClassMethod(java.io.File srcDir,
java.lang.Class<?> cls,
boolean constructor,
boolean copyMethod,
boolean fluentSetter,
java.util.Set<java.lang.String> ignoreFieldNames,
java.util.Map<java.lang.String,java.lang.String> fieldName2MethodName,
CodeGenerator.ParentPropertyMode parentPropertyModeForHashEquals,
CodeGenerator.ParentPropertyMode parentPropertyModeForToString,
java.lang.Class<?> utilClassForHashEqualsToString)
Write the generated methods by the fields defined the in specified class to the source file.
|