|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.di.fc.castorbind.TypeWrapper
public class TypeWrapper
This class provides information for types supported by the Castor Function Component. String , Date , Boolean , Integer , Long , Double , Float , Big decimal , Byte , Short , Character , String array , Byte array , Char array
| Field Summary | |
|---|---|
static java.util.List |
mSupportedTypes
An ArrayList holding the supported types |
static java.lang.String |
TYPE_BIGDECIMAL
The key name passed to the getObject(String) method that will
return the inner BigDecimal object. |
static java.lang.String |
TYPE_BOOLEAN
The key name passed to the getObject(String) method that will
return the inner Boolean object. |
static java.lang.String |
TYPE_BYTE
The key name passed to the getObject(String) method that will
return the inner Byte object. |
static java.lang.String |
TYPE_BYTES
The key name passed to the getObject(String) method that will
return the inner ByteArrayWrapper object. |
static java.lang.String |
TYPE_CHAR
The key name passed to the getObject(String) method that will
return the inner Character object. |
static java.lang.String |
TYPE_CHARS
The key name passed to the getObject(String) method that will
return the inner CharArrayWrapper object. |
static java.lang.String |
TYPE_DATE
The key name passed to the getObject(String) method that will
return the inner Date object. |
static java.lang.String |
TYPE_DOUBLE
The key name passed to the getObject(String) method that will
return the inner Double object. |
static java.lang.String |
TYPE_FLOAT
The key name passed to the getObject(String) method that will
return the inner Float object. |
static java.lang.String |
TYPE_INTEGER
The key name passed to the getObject(String) method that will
return the inner Integer object. |
static java.lang.String |
TYPE_LONG
The key name passed to the getObject(String) method that will
return the inner Long object. |
static java.lang.String |
TYPE_SHORT
The key name passed to the getObject(String) method that will
return the inner Short object. |
static java.lang.String |
TYPE_STRING
The key name passed to the getObject(String) method that will
return the inner String object. |
static java.lang.String |
TYPE_STRINGS
The key name passed to the getObject(String) method that will
return the inner StringArrayWrapper object. |
| Constructor Summary | |
|---|---|
TypeWrapper()
Class constructor |
|
| Method Summary | |
|---|---|
java.math.BigDecimal |
getBigDecimal()
This method returns BigDecimal representation of the member
variable |
java.lang.Boolean |
getBoolean()
This method returns Boolean representation of the member variable |
java.lang.Byte |
getByte()
This method returns Byte representation of the member variable |
ByteArrayWrapper |
getBytes()
This method returns ByteArrayWrapper representation of the member
variable |
java.lang.Character |
getCharacter()
This method returns Character representation of the member
variable |
CharArrayWrapper |
getChars()
This method returns CharArrayWrapper representation of the member
variable |
java.util.Date |
getDate()
This method returns Date representation of the member variable |
java.lang.Double |
getDouble()
This method returns Double representation of the member variable |
java.lang.Float |
getFloat()
This method returns Float representation of the member variable |
java.lang.Integer |
getInteger()
This method returns Integer representation of the member variable |
java.lang.Long |
getLong()
This method returns Long representation of the member variable |
java.lang.Object |
getObject(java.lang.String aType)
The method accepts a String name of the specified type and returns an object of this type if it is supported , else it returns null |
java.lang.Short |
getShort()
This method returns Short representation of the member variable |
java.lang.String |
getString()
This method returns String representation of the member variable |
StringArrayWrapper |
getStrings()
This method returns StringArrayWrapper representation of the
member variable |
static boolean |
isSupported(java.lang.String aType)
Checks whether a type is supported by the FC |
void |
setBigDecimal(java.math.BigDecimal aBigDecimal)
Sets member variable mBigDecimal |
void |
setBoolean(java.lang.Boolean aBoolean)
Sets member variable mBooolean |
void |
setByte(java.lang.Byte aByte)
Sets member variable mByte |
void |
setBytes(ByteArrayWrapper aByteArrayWrapper)
Sets member variable mBAWrapper |
void |
setCharacter(java.lang.Character aChar)
Sets member variable mChar |
void |
setChars(CharArrayWrapper aCharArrayWrapper)
Sets member variable mCAWrapper |
void |
setDate(java.util.Date aDate)
Sets member variable mDate |
void |
setDouble(java.lang.Double aDouble)
Sets member variable mDouble |
void |
setFloat(java.lang.Float aFloat)
Sets member variable mFloat |
void |
setInteger(java.lang.Integer aInteger)
Sets member variable mInteger |
void |
setLong(java.lang.Long aLong)
Sets member variable mLong |
void |
setShort(java.lang.Short aShort)
Sets member variable mShort |
void |
setString(java.lang.String aString)
Sets member variable mString |
void |
setStrings(StringArrayWrapper aStringArrayWrapper)
Sets member variable mSAWrapper |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.util.List mSupportedTypes
ArrayList holding the supported types
public static final java.lang.String TYPE_STRING
getObject(String) method that will
return the inner String object.
public static final java.lang.String TYPE_DATE
getObject(String) method that will
return the inner Date object.
public static final java.lang.String TYPE_BOOLEAN
getObject(String) method that will
return the inner Boolean object.
public static final java.lang.String TYPE_INTEGER
getObject(String) method that will
return the inner Integer object.
public static final java.lang.String TYPE_LONG
getObject(String) method that will
return the inner Long object.
public static final java.lang.String TYPE_DOUBLE
getObject(String) method that will
return the inner Double object.
public static final java.lang.String TYPE_FLOAT
getObject(String) method that will
return the inner Float object.
public static final java.lang.String TYPE_BIGDECIMAL
getObject(String) method that will
return the inner BigDecimal object.
public static final java.lang.String TYPE_BYTE
getObject(String) method that will
return the inner Byte object.
public static final java.lang.String TYPE_SHORT
getObject(String) method that will
return the inner Short object.
public static final java.lang.String TYPE_CHAR
getObject(String) method that will
return the inner Character object.
public static final java.lang.String TYPE_STRINGS
getObject(String) method that will
return the inner StringArrayWrapper object.
public static final java.lang.String TYPE_CHARS
getObject(String) method that will
return the inner CharArrayWrapper object.
public static final java.lang.String TYPE_BYTES
getObject(String) method that will
return the inner ByteArrayWrapper object.
| Constructor Detail |
|---|
public TypeWrapper()
| Method Detail |
|---|
public static boolean isSupported(java.lang.String aType)
aType - type of parameter
public java.lang.String getString()
String representation of the member variable
public void setString(java.lang.String aString)
aString - Stringpublic java.util.Date getDate()
Date representation of the member variable
public void setDate(java.util.Date aDate)
aDate - Datepublic java.lang.Boolean getBoolean()
Boolean representation of the member variable
public void setBoolean(java.lang.Boolean aBoolean)
aBoolean - Booleanpublic java.lang.Integer getInteger()
Integer representation of the member variable
public void setInteger(java.lang.Integer aInteger)
aInteger - Integerpublic java.lang.Long getLong()
Long representation of the member variable
public void setLong(java.lang.Long aLong)
aLong - Longpublic java.lang.Double getDouble()
Double representation of the member variable
public void setDouble(java.lang.Double aDouble)
aDouble - Doublepublic java.lang.Float getFloat()
Float representation of the member variable
public void setFloat(java.lang.Float aFloat)
aFloat - Floatpublic java.math.BigDecimal getBigDecimal()
BigDecimal representation of the member
variable
public void setBigDecimal(java.math.BigDecimal aBigDecimal)
aBigDecimal - BigDecimalpublic java.lang.Byte getByte()
Byte representation of the member variable
public void setByte(java.lang.Byte aByte)
aByte - Bytepublic java.lang.Short getShort()
Short representation of the member variable
public void setShort(java.lang.Short aShort)
aShort - Shortpublic java.lang.Character getCharacter()
Character representation of the member
variable
public void setCharacter(java.lang.Character aChar)
aChar - Characterpublic StringArrayWrapper getStrings()
StringArrayWrapper representation of the
member variable
public void setStrings(StringArrayWrapper aStringArrayWrapper)
aStringArrayWrapper - StringArrayWrapperpublic CharArrayWrapper getChars()
CharArrayWrapper representation of the member
variable
public void setChars(CharArrayWrapper aCharArrayWrapper)
aCharArrayWrapper - CharArrayWrapperpublic ByteArrayWrapper getBytes()
ByteArrayWrapper representation of the member
variable
public void setBytes(ByteArrayWrapper aByteArrayWrapper)
aByteArrayWrapper - ByteArrayWrapperpublic java.lang.Object getObject(java.lang.String aType)
null
aType - the name of the Type
TYPE_STRINGS,
TYPE_BIGDECIMAL,
TYPE_BOOLEAN,
TYPE_BYTE,
TYPE_BYTES,
TYPE_CHAR,
TYPE_CHARS,
TYPE_DATE,
TYPE_DOUBLE,
TYPE_FLOAT,
TYPE_INTEGER,
TYPE_LONG,
TYPE_SHORT,
TYPE_STRINGS
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||