|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ojb.broker.accesslayer.RowReaderDefaultImpl
Default implementation of the RowReader interface.
| Field Summary |
| Fields inherited from interface org.apache.ojb.broker.accesslayer.RowReader |
serialVersionUID |
| Constructor Summary | |
RowReaderDefaultImpl(ClassDescriptor cld)
|
|
| Method Summary | |
ClassDescriptor |
getClassDescriptor()
Returns the associated ClassDescriptor |
void |
readObjectArrayFrom(ResultSetAndStatement rs_stmt,
java.util.Map row)
materialize a single object, described by cld, from the first row of the ResultSet rs. |
java.lang.Object |
readObjectFrom(java.util.Map row)
materialize a single object, described by cld, from the first row of the ResultSet rs. |
void |
readPkValuesFrom(ResultSetAndStatement rs_stmt,
java.util.Map row)
Read primary key fields from the current ResultRow into the Object[] row.# ConversionStrategies are applied here! |
void |
refreshObject(java.lang.Object instance,
java.util.Map row)
refresh an existing instance from the values of the Map row. |
void |
setClassDescriptor(ClassDescriptor cld)
Set the descriptor this RowReader worked with. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RowReaderDefaultImpl(ClassDescriptor cld)
| Method Detail |
public java.lang.Object readObjectFrom(java.util.Map row)
throws PersistenceBrokerException
readObjectFrom in interface RowReaderrow - the Map containing the new values
PersistenceBrokerException
public void refreshObject(java.lang.Object instance,
java.util.Map row)
RowReader
refreshObject in interface RowReaderinstance - the instance to refreshrow - the Map containing the new valuesRowReader.refreshObject(Object, Map)
public void readObjectArrayFrom(ResultSetAndStatement rs_stmt,
java.util.Map row)
readObjectArrayFrom in interface RowReaderPersistenceBrokerException - if there is an error accessing the access layer
public void readPkValuesFrom(ResultSetAndStatement rs_stmt,
java.util.Map row)
RowReader
readPkValuesFrom in interface RowReaderpublic void setClassDescriptor(ClassDescriptor cld)
RowReader
setClassDescriptor in interface RowReaderpublic ClassDescriptor getClassDescriptor()
RowReaderClassDescriptor
getClassDescriptor in interface RowReader
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||