kr.co.hit.live.vo
Enum TypeValue
java.lang.Object
java.lang.Enum<TypeValue>
kr.co.hit.live.vo.TypeValue
- All Implemented Interfaces:
- Serializable, Comparable<TypeValue>
public enum TypeValue
- extends Enum<TypeValue>
NULL
public static final TypeValue NULL
BYTE
public static final TypeValue BYTE
SHORT
public static final TypeValue SHORT
INT
public static final TypeValue INT
LONG
public static final TypeValue LONG
FLOAT
public static final TypeValue FLOAT
DOUBLE
public static final TypeValue DOUBLE
BOOLEAN
public static final TypeValue BOOLEAN
CHAR
public static final TypeValue CHAR
SCALAR
public static final TypeValue SCALAR
STRING
public static final TypeValue STRING
DATE
public static final TypeValue DATE
TIME
public static final TypeValue TIME
TIMESTAMP
public static final TypeValue TIMESTAMP
OBJECT
public static final TypeValue OBJECT
BIG_DECIMAL
public static final TypeValue BIG_DECIMAL
OBJECT_ARRAY
public static final TypeValue OBJECT_ARRAY
BYTE_ARRAY
public static final TypeValue BYTE_ARRAY
CHAR_ARRAY
public static final TypeValue CHAR_ARRAY
VALUEOBJECT
public static final TypeValue VALUEOBJECT
INVALID
public static final TypeValue INVALID
values
public static TypeValue[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (TypeValue c : TypeValue.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TypeValue valueOf(String name)
- 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 name
NullPointerException - if the argument is null
getTypeName
public String getTypeName()
getType
public static TypeValue getType(Object obj)
getType
public static TypeValue getType(String typeName)
Copyright © 2014. All Rights Reserved.