Enum Data.Type
- All Implemented Interfaces:
Serializable, Comparable<Data.Type>, java.lang.constant.Constable
- Enclosing class:
Data
Delineates the standard, known types and their
associated target classes (
Data.setTargetClass(Class) and
converters (Data.setConverter(Class)).- Version:
- $Id: Data.java 511959 2007-02-26 19:24:39Z nbubna $
- Author:
- Nathan Bubna
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic Data.Typeorg.apache.commons.beanutils.ConverterbooleanisCustom()booleanisList()value()static Data.TypeReturns 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.
-
Enum Constant Details
-
AUTO
-
BOOLEAN
-
CUSTOM
-
FIELD
-
NUMBER
-
STRING
-
LIST
-
LIST_AUTO
-
LIST_BOOLEAN
-
LIST_FIELD
-
LIST_NUMBER
-
LIST_STRING
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
isCustom
public boolean isCustom() -
isList
public boolean isList() -
getTarget
-
getConverter
public org.apache.commons.beanutils.Converter getConverter() -
value
-
get
-