IBM Bank Transformation Toolkit Javadoc

com.ibm.btt.format
Interface ReadAdapter

All Known Implementing Classes:
ContextReadAdapter, DataElementReadAdapter, JavaElementInListReadAdapter, JavaReadAdapter, MapReadAdapter, SimpleJavaReadAdapter

public interface ReadAdapter


Method Summary
 java.math.BigDecimal getBigDecimal()
           
 java.math.BigInteger getBigInteger()
           
 boolean getBoolean()
           
 java.lang.Boolean getBooleanObject()
           
 byte getByte()
           
 java.lang.Byte getByteObject()
           
 byte[] getBytes()
           
 java.util.Calendar getCalendar()
           
 ReadAdapter getChildAdapter(int index, boolean isContainer)
          get an Adapter for a data element in an array or a list by the index.
 ReadAdapter getChildAdapter(java.lang.String name, boolean isContainer)
          get an Adapter for a data field by the name.
 java.util.Date getDate()
           
 double getDouble()
           
 java.lang.Double getDoubleObject()
           
 float getFloat()
           
 java.lang.Float getFloatObject()
           
 int getInt()
           
 java.lang.Integer getIntegerObject()
           
 long getLong()
           
 java.lang.Long getLongObject()
           
 java.lang.Object getObject()
           
 short getShort()
           
 java.lang.Short getShortObject()
           
 java.lang.String getString()
           
 boolean isNull()
           
 int size()
          if the Adaptered data element is an array or a list, return the size of it.
 

Method Detail

getChildAdapter

ReadAdapter getChildAdapter(java.lang.String name,
                            boolean isContainer)
                            throws GetFailedException
get an Adapter for a data field by the name.

Parameters:
name -
isContainer -
Returns:
Throws:
GetFailedException

getChildAdapter

ReadAdapter getChildAdapter(int index,
                            boolean isContainer)
                            throws GetFailedException
get an Adapter for a data element in an array or a list by the index.

Parameters:
index -
Returns:
Throws:
GetFailedException

size

int size()
         throws GetFailedException
if the Adaptered data element is an array or a list, return the size of it.

Returns:
Throws:
GetFailedException

isNull

boolean isNull()
               throws GetFailedException
Throws:
GetFailedException

getBoolean

boolean getBoolean()
                   throws GetFailedException
Throws:
GetFailedException

getBooleanObject

java.lang.Boolean getBooleanObject()
                                   throws GetFailedException
Throws:
GetFailedException

getByte

byte getByte()
             throws GetFailedException
Throws:
GetFailedException

getByteObject

java.lang.Byte getByteObject()
                             throws GetFailedException
Throws:
GetFailedException

getShort

short getShort()
               throws GetFailedException
Throws:
GetFailedException

getShortObject

java.lang.Short getShortObject()
                               throws GetFailedException
Throws:
GetFailedException

getInt

int getInt()
           throws GetFailedException
Throws:
GetFailedException

getIntegerObject

java.lang.Integer getIntegerObject()
                                   throws GetFailedException
Throws:
GetFailedException

getLong

long getLong()
             throws GetFailedException
Throws:
GetFailedException

getLongObject

java.lang.Long getLongObject()
                             throws GetFailedException
Throws:
GetFailedException

getFloat

float getFloat()
               throws GetFailedException
Throws:
GetFailedException

getFloatObject

java.lang.Float getFloatObject()
                               throws GetFailedException
Throws:
GetFailedException

getDouble

double getDouble()
                 throws GetFailedException
Throws:
GetFailedException

getDoubleObject

java.lang.Double getDoubleObject()
                                 throws GetFailedException
Throws:
GetFailedException

getBigInteger

java.math.BigInteger getBigInteger()
                                   throws GetFailedException
Throws:
GetFailedException

getBigDecimal

java.math.BigDecimal getBigDecimal()
                                   throws GetFailedException
Throws:
GetFailedException

getBytes

byte[] getBytes()
                throws GetFailedException
Throws:
GetFailedException

getString

java.lang.String getString()
                           throws GetFailedException
Throws:
GetFailedException

getCalendar

java.util.Calendar getCalendar()
                               throws GetFailedException
Throws:
GetFailedException

getObject

java.lang.Object getObject()
                           throws GetFailedException
Throws:
GetFailedException

getDate

java.util.Date getDate()
                       throws GetFailedException
Throws:
GetFailedException

IBM Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2008