kr.co.hit.live.web.mapper.type
Class DoubleColumnTypeCaster

java.lang.Object
  extended by kr.co.hit.live.web.mapper.type.DefaultColumnTypeCaster
      extended by kr.co.hit.live.web.mapper.type.NumberColumnTypeCaster
          extended by kr.co.hit.live.web.mapper.type.DoubleColumnTypeCaster
All Implemented Interfaces:
ColumnTypeCaster

public class DoubleColumnTypeCaster
extends NumberColumnTypeCaster


Field Summary
 
Fields inherited from class kr.co.hit.live.web.mapper.type.DefaultColumnTypeCaster
EMPTY_STRING
 
Fields inherited from interface kr.co.hit.live.web.mapper.type.ColumnTypeCaster
BYTE, CDATA, CHAR, DATE, DEFAULT, DOUBLE, FLOAT, INTEGER, LONG, NUMBER, STRING
 
Constructor Summary
DoubleColumnTypeCaster()
           
 
Method Summary
 Object parseInput(Object value, String id, Format format)
          입력으로 들어온 value를 target type으로 변환한다.
 Object parseOutput(Object value, String id, Format format, boolean cdata)
          입력으로 들어온 value를 출력을 위한 문자열로 변환한다.
 int type()
           
 
Methods inherited from class kr.co.hit.live.web.mapper.type.NumberColumnTypeCaster
getFormatInstance
 
Methods inherited from class kr.co.hit.live.web.mapper.type.DefaultColumnTypeCaster
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleColumnTypeCaster

public DoubleColumnTypeCaster()
Method Detail

parseInput

public Object parseInput(Object value,
                         String id,
                         Format format)
Description copied from interface: ColumnTypeCaster
입력으로 들어온 value를 target type으로 변환한다.

Specified by:
parseInput in interface ColumnTypeCaster
Overrides:
parseInput in class NumberColumnTypeCaster
Parameters:
value - 컬럼 값
id - 컬럼 id
format - type 변환 시 적용할 포멧
Returns:

parseOutput

public Object parseOutput(Object value,
                          String id,
                          Format format,
                          boolean cdata)
Description copied from interface: ColumnTypeCaster
입력으로 들어온 value를 출력을 위한 문자열로 변환한다.

Specified by:
parseOutput in interface ColumnTypeCaster
Overrides:
parseOutput in class NumberColumnTypeCaster
Parameters:
value - 컬럼 값
id - 컬럼 ID
format - 문자열 생성시 적용할 포멧
Returns:

type

public int type()
Specified by:
type in interface ColumnTypeCaster
Overrides:
type in class NumberColumnTypeCaster


Copyright © 2014. All Rights Reserved.