wt.pds
Class DatastoreStructProcessor
java.lang.Object
wt.pds.AbstractPersistenceArray
wt.pds.DatastoreStructProcessor
- All Implemented Interfaces:
- PersistentRetrieveIfc, PersistentStoreIfc
- public class DatastoreStructProcessor
- extends AbstractPersistenceArray
Methods inherited from class wt.pds.AbstractPersistenceArray |
close, getAsciiStream, getBigDecimal, getBinaryStream, getBoolean, getBooleanObject, getByte, getByteObject, getBytes, getChar, getCharObject, getContainer, getDate, getDouble, getDoubleObject, getFloat, getFloatObject, getInlineObject, getInt, getIntObject, getLobLocator, getLong, getLongObject, getObject, getObjectMappable, getRawData, getShort, getShortObject, getSmallObject, getString, getTime, getTimestamp, getUnicodeStream, next, processObject, setAsciiStream, setBigDecimal, setBinaryStream, setBoolean, setBooleanObject, setByte, setByteObject, setBytes, setChar, setCharObject, setDate, setDouble, setDoubleObject, setFloat, setFloatObject, setInlineObject, setInt, setIntObject, setLobLocator, setLong, setLongObject, setNull, setObject, setRawData, setShort, setShortObject, setSmallObject, setString, setTime, setTimestamp, setUnicodeStream, wasNull |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatastoreStructProcessor
public DatastoreStructProcessor(DatastoreStruct a_struct)
throws WTException
DatastoreStructProcessor
public DatastoreStructProcessor(Class a_targetClass,
Object[] a_rawData)
throws WTException
getArrayData
public Object[] getArrayData()
readObject
public ObjectMappable readObject(String a_attributeName,
ObjectMappable a_obj,
Class a_concreteClass,
boolean a_isRequired)
throws SQLException,
DatastoreException
- Description copied from interface:
PersistentRetrieveIfc
- Get the values corresponding to a nested ObjectMappable Object. This results in a
call to the nested object's
readExternal
method.
- Parameters:
a_attributeName
- a class attribute namea_obj
- the nested objecta_concreteClass
- the class to instantiate if needed
- Throws:
DatastoreException
- if any other internal error occurs.
SQLException
- if a database-access error occurs.
writeObject
public void writeObject(String a_attributeName,
ObjectMappable a_obj,
Class a_concreteClass,
boolean a_isRequired)
throws SQLException,
DatastoreException
- Description copied from interface:
PersistentStoreIfc
- Set the values corresponding to a nested ObjectMappable Object. This results in a
call the nested object's
writeExternal
method.
- Parameters:
a_attributeName
- a class attribute namea_obj
- the nested objecta_concreteClass
- the class of the object (in case obj is null)
- Throws:
SQLException
- if a database-access error occurs.
DatastoreException