kr.co.hit.live.vo
Enum TypeValue

java.lang.Object
  extended by java.lang.Enum<TypeValue>
      extended by kr.co.hit.live.vo.TypeValue
All Implemented Interfaces:
Serializable, Comparable<TypeValue>

public enum TypeValue
extends Enum<TypeValue>


Enum Constant Summary
BIG_DECIMAL
           
BOOLEAN
           
BYTE
           
BYTE_ARRAY
           
CHAR
           
CHAR_ARRAY
           
DATE
           
DOUBLE
           
FLOAT
           
INT
           
INVALID
           
LONG
           
NULL
           
OBJECT
           
OBJECT_ARRAY
           
SCALAR
           
SHORT
           
STRING
           
TIME
           
TIMESTAMP
           
VALUEOBJECT
           
 
Method Summary
static TypeValue getType(Object obj)
           
static TypeValue getType(String typeName)
           
 String getTypeName()
           
static TypeValue valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TypeValue[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.