com.ibm.di.fc.castorbind
Class TypeWrapper

java.lang.Object
  extended by com.ibm.di.fc.castorbind.TypeWrapper

public class TypeWrapper
extends Object


Field Summary
static List mSupportedTypes
           
static String TYPE_BIGDECIMAL
           
static String TYPE_BOOLEAN
           
static String TYPE_BYTE
           
static String TYPE_BYTES
           
static String TYPE_CHAR
           
static String TYPE_CHARS
           
static String TYPE_DATE
           
static String TYPE_DOUBLE
           
static String TYPE_FLOAT
           
static String TYPE_INTEGER
           
static String TYPE_LONG
           
static String TYPE_SHORT
           
static String TYPE_STRING
           
static String TYPE_STRINGS
           
 
Constructor Summary
TypeWrapper()
           
 
Method Summary
 BigDecimal getBigDecimal()
           
 Boolean getBoolean()
           
 Byte getByte()
           
 ByteArrayWrapper getBytes()
           
 Character getCharacter()
           
 CharArrayWrapper getChars()
           
 Date getDate()
           
 Double getDouble()
           
 Float getFloat()
           
 Integer getInteger()
           
 Long getLong()
           
 Object getObject(String aType)
           
 Short getShort()
           
 String getString()
           
 StringArrayWrapper getStrings()
           
static boolean isSupported(String aType)
           
 void setBigDecimal(BigDecimal aBigDecimal)
           
 void setBoolean(Boolean aBoolean)
           
 void setByte(Byte aByte)
           
 void setBytes(ByteArrayWrapper aByteArrayWrapper)
           
 void setCharacter(Character aChar)
           
 void setChars(CharArrayWrapper aCharArrayWrapper)
           
 void setDate(Date aDate)
           
 void setDouble(Double aDouble)
           
 void setFloat(Float aFloat)
           
 void setInteger(Integer aInteger)
           
 void setLong(Long aLong)
           
 void setShort(Short aShort)
           
 void setString(String aString)
           
 void setStrings(StringArrayWrapper aStringArrayWrapper)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mSupportedTypes

public static List mSupportedTypes

TYPE_STRING

public static final String TYPE_STRING
See Also:
Constant Field Values

TYPE_DATE

public static final String TYPE_DATE
See Also:
Constant Field Values

TYPE_BOOLEAN

public static final String TYPE_BOOLEAN
See Also:
Constant Field Values

TYPE_INTEGER

public static final String TYPE_INTEGER
See Also:
Constant Field Values

TYPE_LONG

public static final String TYPE_LONG
See Also:
Constant Field Values

TYPE_DOUBLE

public static final String TYPE_DOUBLE
See Also:
Constant Field Values

TYPE_FLOAT

public static final String TYPE_FLOAT
See Also:
Constant Field Values

TYPE_BIGDECIMAL

public static final String TYPE_BIGDECIMAL
See Also:
Constant Field Values

TYPE_BYTE

public static final String TYPE_BYTE
See Also:
Constant Field Values

TYPE_SHORT

public static final String TYPE_SHORT
See Also:
Constant Field Values

TYPE_CHAR

public static final String TYPE_CHAR
See Also:
Constant Field Values

TYPE_STRINGS

public static final String TYPE_STRINGS
See Also:
Constant Field Values

TYPE_CHARS

public static final String TYPE_CHARS
See Also:
Constant Field Values

TYPE_BYTES

public static final String TYPE_BYTES
See Also:
Constant Field Values
Constructor Detail

TypeWrapper

public TypeWrapper()
Method Detail

isSupported

public static boolean isSupported(String aType)

getString

public String getString()

setString

public void setString(String aString)

getDate

public Date getDate()

setDate

public void setDate(Date aDate)

getBoolean

public Boolean getBoolean()

setBoolean

public void setBoolean(Boolean aBoolean)

getInteger

public Integer getInteger()

setInteger

public void setInteger(Integer aInteger)

getLong

public Long getLong()

setLong

public void setLong(Long aLong)

getDouble

public Double getDouble()

setDouble

public void setDouble(Double aDouble)

getFloat

public Float getFloat()

setFloat

public void setFloat(Float aFloat)

getBigDecimal

public BigDecimal getBigDecimal()

setBigDecimal

public void setBigDecimal(BigDecimal aBigDecimal)

getByte

public Byte getByte()

setByte

public void setByte(Byte aByte)

getShort

public Short getShort()

setShort

public void setShort(Short aShort)

getCharacter

public Character getCharacter()

setCharacter

public void setCharacter(Character aChar)

getStrings

public StringArrayWrapper getStrings()

setStrings

public void setStrings(StringArrayWrapper aStringArrayWrapper)

getChars

public CharArrayWrapper getChars()

setChars

public void setChars(CharArrayWrapper aCharArrayWrapper)

getBytes

public ByteArrayWrapper getBytes()

setBytes

public void setBytes(ByteArrayWrapper aByteArrayWrapper)

getObject

public Object getObject(String aType)