protected static enum Data.Type extends Enum<Data.Type>
Data.setTargetClass(java.lang.Class)
and
converters (Data.setConverter(java.lang.Class)
).Enum Constant and Description |
---|
AUTO |
BOOLEAN |
CUSTOM |
FIELD |
LIST |
LIST_AUTO |
LIST_BOOLEAN |
LIST_FIELD |
LIST_NUMBER |
LIST_STRING |
NUMBER |
STRING |
Modifier and Type | Method and Description |
---|---|
static Data.Type |
get(String type) |
org.apache.commons.beanutils.Converter |
getConverter() |
Class |
getTarget() |
boolean |
isCustom() |
boolean |
isList() |
String |
value() |
static Data.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Data.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Data.Type AUTO
public static final Data.Type BOOLEAN
public static final Data.Type CUSTOM
public static final Data.Type FIELD
public static final Data.Type NUMBER
public static final Data.Type STRING
public static final Data.Type LIST
public static final Data.Type LIST_AUTO
public static final Data.Type LIST_BOOLEAN
public static final Data.Type LIST_FIELD
public static final Data.Type LIST_NUMBER
public static final Data.Type LIST_STRING
public static Data.Type[] values()
for (Data.Type c : Data.Type.values()) System.out.println(c);
public static Data.Type 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 boolean isCustom()
public boolean isList()
public Class getTarget()
public org.apache.commons.beanutils.Converter getConverter()
public String value()
Copyright © 2002–2021 The Apache Software Foundation. All rights reserved.