com.ibm.btt.format.adapter
Class ContextWriteAdapter
java.lang.Object
com.ibm.btt.format.adapter.AbstractWriteAdapter
com.ibm.btt.format.adapter.ContextWriteAdapter
- All Implemented Interfaces:
- WriteAdapter
public class ContextWriteAdapter
- extends AbstractWriteAdapter
- implements WriteAdapter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContextWriteAdapter
public ContextWriteAdapter(Context ctx)
ContextWriteAdapter
public ContextWriteAdapter(Context ctx,
java.lang.String name,
java.util.Map<java.lang.String,java.lang.Object> attrs)
getChildAdapter
public WriteAdapter getChildAdapter(int index,
java.lang.String elementType)
throws GetFailedException
- Specified by:
getChildAdapter
in interface WriteAdapter
- Throws:
GetFailedException
getChildAdapter
public WriteAdapter getChildAdapter(int index)
throws GetFailedException
- Specified by:
getChildAdapter
in interface WriteAdapter
- Throws:
GetFailedException
getChildAdapter
public WriteAdapter getChildAdapter(java.lang.String name)
throws GetFailedException
- Description copied from interface:
WriteAdapter
- get an Adapter for a data field by the name.
- Specified by:
getChildAdapter
in interface WriteAdapter
- Returns:
-
- Throws:
GetFailedException
getChildAdapter
public WriteAdapter getChildAdapter(java.lang.String name,
java.lang.String type)
throws GetFailedException
- Specified by:
getChildAdapter
in interface WriteAdapter
- Throws:
GetFailedException
setBigDecimal
public void setBigDecimal(java.math.BigDecimal value)
throws SetFailedException
- Specified by:
setBigDecimal
in interface WriteAdapter
- Throws:
SetFailedException
setBigInteger
public void setBigInteger(java.math.BigInteger value)
throws SetFailedException
- Specified by:
setBigInteger
in interface WriteAdapter
- Throws:
SetFailedException
setBoolean
public void setBoolean(boolean value)
throws SetFailedException
- Specified by:
setBoolean
in interface WriteAdapter
- Throws:
SetFailedException
setBooleanObject
public void setBooleanObject(java.lang.Boolean value)
throws SetFailedException
- Specified by:
setBooleanObject
in interface WriteAdapter
- Throws:
SetFailedException
setByte
public void setByte(byte value)
throws SetFailedException
- Specified by:
setByte
in interface WriteAdapter
- Throws:
SetFailedException
setByteObject
public void setByteObject(java.lang.Byte value)
throws SetFailedException
- Specified by:
setByteObject
in interface WriteAdapter
- Throws:
SetFailedException
setBytes
public void setBytes(byte[] value)
throws SetFailedException
- Specified by:
setBytes
in interface WriteAdapter
- Throws:
SetFailedException
setCalendar
public void setCalendar(java.util.Calendar value)
throws SetFailedException
- Specified by:
setCalendar
in interface WriteAdapter
- Throws:
SetFailedException
setDouble
public void setDouble(double value)
throws SetFailedException
- Specified by:
setDouble
in interface WriteAdapter
- Throws:
SetFailedException
setDoubleObject
public void setDoubleObject(java.lang.Double value)
throws SetFailedException
- Specified by:
setDoubleObject
in interface WriteAdapter
- Throws:
SetFailedException
setFloat
public void setFloat(float value)
throws SetFailedException
- Specified by:
setFloat
in interface WriteAdapter
- Throws:
SetFailedException
setFloatObject
public void setFloatObject(java.lang.Float value)
throws SetFailedException
- Specified by:
setFloatObject
in interface WriteAdapter
- Throws:
SetFailedException
setInt
public void setInt(int value)
throws SetFailedException
- Specified by:
setInt
in interface WriteAdapter
- Throws:
SetFailedException
setIntegerObject
public void setIntegerObject(java.lang.Integer value)
throws SetFailedException
- Specified by:
setIntegerObject
in interface WriteAdapter
- Throws:
SetFailedException
setIsNull
public void setIsNull(boolean isNull)
throws SetFailedException
- Throws:
SetFailedException
setLong
public void setLong(long value)
throws SetFailedException
- Specified by:
setLong
in interface WriteAdapter
- Throws:
SetFailedException
setLongObject
public void setLongObject(java.lang.Long value)
throws SetFailedException
- Specified by:
setLongObject
in interface WriteAdapter
- Throws:
SetFailedException
setObject
public void setObject(java.lang.Object value)
throws SetFailedException
- Specified by:
setObject
in interface WriteAdapter
- Throws:
SetFailedException
setShort
public void setShort(short value)
throws SetFailedException
- Specified by:
setShort
in interface WriteAdapter
- Throws:
SetFailedException
setShortObject
public void setShortObject(java.lang.Short value)
throws SetFailedException
- Specified by:
setShortObject
in interface WriteAdapter
- Throws:
SetFailedException
setString
public void setString(java.lang.String value)
throws SetFailedException
- Specified by:
setString
in interface WriteAdapter
- Throws:
SetFailedException
setDate
public void setDate(java.util.Date value)
throws SetFailedException
- Specified by:
setDate
in interface WriteAdapter
- Throws:
SetFailedException
(c) Copyright IBM Corporation 1998, 2008