public static enum AddFieldsAction.FieldType extends Enum<AddFieldsAction.FieldType>
Enum Constant and Description |
---|
BIGDECIMAL |
BIGINTEGER |
BOOLEAN |
BYTE |
CHARACTER |
DATE |
DATETIME |
DOUBLE |
EMPTY_STRING |
EXPRESSION |
FLOAT |
INTEGER |
LONG |
SHORT |
STRING |
TIME |
Modifier and Type | Field and Description |
---|---|
protected String |
displayText |
protected Class<?> |
type |
protected Class<?> |
typeImport |
Modifier and Type | Method and Description |
---|---|
void |
addImport(JavaCodeBuilder generator,
AddFieldsAction.TypeValue typeValue) |
void |
apply(TransformingReader reader,
String key,
String value) |
void |
generateCode(CodeWriter writer,
String key,
String value) |
protected void |
generateCodeForNonNull(CodeWriter writer,
String key,
String value) |
String |
getDisplayText() |
static AddFieldsAction.FieldType |
lookup(String value) |
static AddFieldsAction.FieldType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AddFieldsAction.FieldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AddFieldsAction.FieldType EXPRESSION
public static final AddFieldsAction.FieldType STRING
public static final AddFieldsAction.FieldType EMPTY_STRING
public static final AddFieldsAction.FieldType CHARACTER
public static final AddFieldsAction.FieldType BIGINTEGER
public static final AddFieldsAction.FieldType LONG
public static final AddFieldsAction.FieldType INTEGER
public static final AddFieldsAction.FieldType SHORT
public static final AddFieldsAction.FieldType BYTE
public static final AddFieldsAction.FieldType BIGDECIMAL
public static final AddFieldsAction.FieldType DOUBLE
public static final AddFieldsAction.FieldType FLOAT
public static final AddFieldsAction.FieldType DATETIME
public static final AddFieldsAction.FieldType DATE
public static final AddFieldsAction.FieldType TIME
public static final AddFieldsAction.FieldType BOOLEAN
protected final Class<?> type
protected final Class<?> typeImport
protected final String displayText
public static AddFieldsAction.FieldType[] values()
for (AddFieldsAction.FieldType c : AddFieldsAction.FieldType.values()) System.out.println(c);
public static AddFieldsAction.FieldType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic void apply(TransformingReader reader, String key, String value)
public void addImport(JavaCodeBuilder generator, AddFieldsAction.TypeValue typeValue)
public void generateCode(CodeWriter writer, String key, String value)
protected void generateCodeForNonNull(CodeWriter writer, String key, String value)
public String getDisplayText()
public static AddFieldsAction.FieldType lookup(String value)
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.