public enum DATA_TYPE extends Enum<DATA_TYPE>
| Modifier and Type | Method and Description |
|---|---|
static DATA_TYPE |
byName(String name) |
Object |
getActualValue(Object rawValue)
This method convert a raw object value to the correct type as defined
in the original
DataDictionary. |
Class<?> |
getMappedClass() |
String |
getName() |
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 STRING
public static final DATA_TYPE INTEGER
public static final DATA_TYPE FLOAT
public static final DATA_TYPE DOUBLE
public static final DATA_TYPE BOOLEAN
public static final DATA_TYPE DATE
public static final DATA_TYPE TIME
public static final DATA_TYPE DATE_TIME
public static final DATA_TYPE DATE_DAYS_SINCE_0
public static final DATA_TYPE DATE_DAYS_SINCE_1960
public static final DATA_TYPE DATE_DAYS_SINCE_1970
public static final DATA_TYPE DATE_DAYS_SINCE_1980
public static final DATA_TYPE TIME_SECONDS
public static final DATA_TYPE DATE_TIME_SECONDS_SINCE_0
public static final DATA_TYPE DATE_TIME_SECONDS_SINCE_1960
public static final DATA_TYPE DATE_TIME_SECONDS_SINCE_1970
public static final DATA_TYPE DATE_TIME_SECONDS_SINCE_1980
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 String getName()
public Class<?> getMappedClass()
public Object getActualValue(Object rawValue)
DataDictionary.
Needed for example when an unmarshalled Predicate expose a field' value as String
while the value' type is defined as double in the DataFielddefinition.rawValue - Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.