public class ValueType<T> extends Object implements Externalizable
Modifier and Type | Class and Description |
---|---|
static class |
ValueType.BigDecimalValueType |
static class |
ValueType.BigIntegerValueType |
static class |
ValueType.StringValueType |
Modifier and Type | Field and Description |
---|---|
static ValueType |
ARRAY_TYPE |
static ValueType |
BIG_DECIMAL_TYPE |
static ValueType |
BIG_INTEGER_TYPE |
static ValueType |
BOOLEAN_TYPE |
static ValueType |
BYTE_TYPE |
static ValueType |
CHAR_TYPE |
static ValueType |
CLASS_TYPE |
static ValueType |
DATE_TYPE |
static ValueType |
DOUBLE_TYPE |
static ValueType |
EVENT_TYPE |
static ValueType |
FACTTEMPLATE_TYPE |
static ValueType |
FLOAT_TYPE |
static ValueType |
INTEGER_TYPE |
static ValueType |
LONG_TYPE |
static ValueType |
NULL_TYPE |
static ValueType |
NUMBER_TYPE |
static ValueType |
OBJECT_TYPE |
static ValueType |
PBOOLEAN_TYPE |
static ValueType |
PBYTE_TYPE |
static ValueType |
PCHAR_TYPE |
static ValueType |
PDOUBLE_TYPE |
static ValueType |
PFLOAT_TYPE |
static ValueType |
PINTEGER_TYPE |
static ValueType |
PLONG_TYPE |
static ValueType |
PSHORT_TYPE |
static ValueType |
QUERY_TYPE |
static ValueType |
SHORT_TYPE |
static ValueType |
STRING_TYPE |
static ValueType |
TRAIT_TYPE |
Constructor and Description |
---|
ValueType() |
Modifier and Type | Method and Description |
---|---|
T |
coerce(Object value) |
static ValueType |
determineValueType(Class<?> clazz) |
boolean |
equals(Object object) |
Class<T> |
getClassType() |
String |
getName() |
int |
getSimpleType() |
int |
hashCode() |
boolean |
isBoolean() |
boolean |
isChar() |
boolean |
isDate() |
static boolean |
isDateType(Class<?> clazz) |
boolean |
isEvent() |
boolean |
isFloatNumber() |
boolean |
isIntegerNumber() |
boolean |
isNumber() |
void |
readExternal(ObjectInput in) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
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 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 void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public String getName()
public int getSimpleType()
public static boolean isDateType(Class<?> clazz)
public boolean isBoolean()
public boolean isDate()
public boolean isNumber()
public boolean isIntegerNumber()
public boolean isFloatNumber()
public boolean isChar()
public boolean isEvent()
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.