public enum TypeConverter extends Enum<TypeConverter>
| Modifier and Type | Class and Description |
|---|---|
static interface |
TypeConverter.Action |
| Enum Constant and Description |
|---|
BOOL |
BOOLEAN |
COLLECTION |
DATE |
DOUBLE |
FLOAT |
INT |
LOCALDATE |
LOCALTIME |
LONG |
MODEL |
NUMBER |
STRING |
| Modifier and Type | Method and Description |
|---|---|
TypeConverter.Action |
getAction() |
static TypeConverter |
getByType(Class<?> type) |
static TypeConverter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeConverter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeConverter STRING
public static final TypeConverter INT
public static final TypeConverter LONG
public static final TypeConverter BOOL
public static final TypeConverter FLOAT
public static final TypeConverter DOUBLE
public static final TypeConverter NUMBER
public static final TypeConverter BOOLEAN
public static final TypeConverter DATE
public static final TypeConverter LOCALDATE
public static final TypeConverter LOCALTIME
public static final TypeConverter MODEL
public static final TypeConverter COLLECTION
public static TypeConverter[] values()
for (TypeConverter c : TypeConverter.values()) System.out.println(c);
public static TypeConverter 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 TypeConverter.Action getAction()
public static TypeConverter getByType(Class<?> type)
Copyright © 2020. All rights reserved.