public class RowReaderDefaultImpl extends java.lang.Object implements RowReader
RowReader interface.serialVersionUID| Constructor and Description |
|---|
RowReaderDefaultImpl(ClassDescriptor cld) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public RowReaderDefaultImpl(ClassDescriptor cld)
public java.lang.Object readObjectFrom(java.util.Map row)
throws PersistenceBrokerException
readObjectFrom in interface RowReaderrow - the Map containing the new valuesPersistenceBrokerExceptionpublic void refreshObject(java.lang.Object instance,
java.util.Map row)
RowReaderrefreshObject 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 layerpublic void readPkValuesFrom(ResultSetAndStatement rs_stmt, java.util.Map row)
RowReaderreadPkValuesFrom in interface RowReaderpublic void setClassDescriptor(ClassDescriptor cld)
RowReadersetClassDescriptor in interface RowReaderpublic ClassDescriptor getClassDescriptor()
RowReaderClassDescriptorgetClassDescriptor in interface RowReader(C) 2002 - 2005 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30