public enum ValueType extends Enum<ValueType>
| Modifier and Type | Method and Description |
|---|---|
Object |
coerce(Object value) |
static ValueType |
determineValueType(Class<?> clazz) |
Class<?> |
getClassType() |
String |
getName() |
boolean |
isBoolean() |
boolean |
isChar() |
boolean |
isDate() |
boolean |
isDecimalNumber() |
boolean |
isEvent() |
boolean |
isIntegerNumber() |
boolean |
isNumber() |
String |
toString() |
static ValueType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValueType NULL_TYPE
public static final ValueType PCHAR_TYPE
public static final ValueType PBYTE_TYPE
public static final ValueType PSHORT_TYPE
public static final ValueType PINTEGER_TYPE
public static final ValueType PLONG_TYPE
public static final ValueType PFLOAT_TYPE
public static final ValueType PDOUBLE_TYPE
public static final ValueType PBOOLEAN_TYPE
public static final ValueType CHAR_TYPE
public static final ValueType BYTE_TYPE
public static final ValueType SHORT_TYPE
public static final ValueType INTEGER_TYPE
public static final ValueType LONG_TYPE
public static final ValueType FLOAT_TYPE
public static final ValueType DOUBLE_TYPE
public static final ValueType BOOLEAN_TYPE
public static final ValueType NUMBER_TYPE
public static final ValueType BIG_DECIMAL_TYPE
public static final ValueType BIG_INTEGER_TYPE
public static final ValueType DATE_TYPE
public static final ValueType LOCAL_DATE_TYPE
public static final ValueType LOCAL_TIME_TYPE
public static final ValueType ARRAY_TYPE
public static final ValueType STRING_TYPE
public static final ValueType OBJECT_TYPE
public static final ValueType FACTTEMPLATE_TYPE
public static final ValueType EVENT_TYPE
public static final ValueType QUERY_TYPE
public static final ValueType TRAIT_TYPE
public static final ValueType CLASS_TYPE
public static ValueType[] values()
for (ValueType c : ValueType.values()) System.out.println(c);
public static ValueType 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<?> getClassType()
public boolean isBoolean()
public boolean isNumber()
public boolean isIntegerNumber()
public boolean isDecimalNumber()
public boolean isChar()
public boolean isDate()
public boolean isEvent()
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.