public enum FieldType extends Enum<FieldType>
| Modifier and Type | Class and Description |
|---|---|
static class |
FieldType.TypeAndName |
| Enum Constant and Description |
|---|
ARRAY |
BLOB |
BOOLEAN |
DATE |
ENUM |
FLOAT |
INT |
JSON |
MAP |
NONE |
PASSWORD |
REFERENCE |
STRING |
TYPE |
| Modifier and Type | Method and Description |
|---|---|
Class<?>[] |
getClasses() |
String |
getExternalType() |
Set<ConditionType> |
getModifiers() |
static List<FieldType.TypeAndName> |
parse(String typeName) |
static String |
toString(FieldType fieldType,
String... list) |
static String |
toString(String name,
FieldType fieldType,
List<String> list) |
static String |
toString(String name,
FieldType fieldType,
String... list) |
static FieldType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldType STRING
public static final FieldType PASSWORD
public static final FieldType FLOAT
public static final FieldType INT
public static final FieldType DATE
public static final FieldType BLOB
public static final FieldType BOOLEAN
public static final FieldType ENUM
public static final FieldType REFERENCE
public static final FieldType ARRAY
public static final FieldType MAP
public static final FieldType TYPE
public static final FieldType JSON
public static final FieldType NONE
public static FieldType[] values()
for (FieldType c : FieldType.values()) System.out.println(c);
public static 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 static List<FieldType.TypeAndName> parse(String typeName)
public Class<?>[] getClasses()
public Set<ConditionType> getModifiers()
public String getExternalType()
Copyright © 2015. All rights reserved.