com.tobesoft.xplatform.data.datatype
Class PlatformDataType

java.lang.Object
  extended bycom.tobesoft.xplatform.data.datatype.PlatformDataType

public class PlatformDataType
extends java.lang.Object

XPlatform의 데이터 형식(type)을 정의한다. DataTypes에 정의된 상수를 DataType으로 재정의한 것이다. DataTypeFactory에 의해 호환되는 타 DataType으로 변환이 가능하도록 데이터 형식(type)간의 연관 관계를 정의한다.

Author:
dhrim
See Also:
DataType, JavaDataType, SqlDataType, DataTypes

Field Summary
static DataType BIG_DECIMAL
          XPlatform의 BigDecimal 형식
static DataType BLOB
          XPlatform의 blob 형식
static DataType BOOLEAN
          XPlatform의 boolean 형식
static java.lang.String CATEGORY_NAME
          분류명(category)
static DataType DATASET
          XPlatform의 DataSet 형식
static DataType DATE
          XPlatform의 date 형식
static DataType DATE_TIME
          XPlatform의 datetime 형식
static DataType DOUBLE
          XPlatform의 double 형식
static DataType FLOAT
          XPlatform의 float 형식
static DataType INT
          XPlatform의 int 형식
static DataType INVALID
          XPlatform의 적합하지 않은 데이터 형식
static DataType LONG
          XPlatform의 long 형식
static DataType NULL
          XPlatform의 null 형식
static DataType STRING
          XPlatform의 String 형식
static DataType TIME
          XPlatform의 time 형식
static DataType UNDEFINED
          XPlatform의 정의되지 않은 형식
 
Method Summary
static int getDefaultSize(DataType dataType)
          데이터 형식(DataType)의 기본 크기를 반환한다.
static int getType(DataType dataType)
          타 데이터 형식(DataType)을 PlatformDataType으로 변환한다.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CATEGORY_NAME

public static final java.lang.String CATEGORY_NAME
분류명(category)

See Also:
Constant Field Values

UNDEFINED

public static final DataType UNDEFINED
XPlatform의 정의되지 않은 형식


NULL

public static final DataType NULL
XPlatform의 null 형식


STRING

public static final DataType STRING
XPlatform의 String 형식


INT

public static final DataType INT
XPlatform의 int 형식


BOOLEAN

public static final DataType BOOLEAN
XPlatform의 boolean 형식


LONG

public static final DataType LONG
XPlatform의 long 형식


FLOAT

public static final DataType FLOAT
XPlatform의 float 형식


DOUBLE

public static final DataType DOUBLE
XPlatform의 double 형식


BIG_DECIMAL

public static final DataType BIG_DECIMAL
XPlatform의 BigDecimal 형식


DATE

public static final DataType DATE
XPlatform의 date 형식


TIME

public static final DataType TIME
XPlatform의 time 형식


DATE_TIME

public static final DataType DATE_TIME
XPlatform의 datetime 형식


BLOB

public static final DataType BLOB
XPlatform의 blob 형식


DATASET

public static final DataType DATASET
XPlatform의 DataSet 형식


INVALID

public static final DataType INVALID
XPlatform의 적합하지 않은 데이터 형식

Method Detail

getType

public static int getType(DataType dataType)
타 데이터 형식(DataType)을 PlatformDataType으로 변환한다.

Parameters:
dataType - 데이터 형식
Returns:
PlatformDataType의 DataType

getDefaultSize

public static int getDefaultSize(DataType dataType)
데이터 형식(DataType)의 기본 크기를 반환한다.

Parameters:
dataType - 데이터 형식
Returns:
데이터 형식의 기본 크기


Copyright © 2000-2011 TOBESOFT Co., Ltd.