public interface RowReader
extends java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Modifier and Type | Method and Description |
---|---|
ClassDescriptor |
getClassDescriptor()
Returns the associated
ClassDescriptor |
void |
readObjectArrayFrom(ResultSetAndStatement rs,
java.util.Map row)
Read all fields from the current ResultRow into the Object[] row.#
ConversionStrategies are applied here!
|
java.lang.Object |
readObjectFrom(java.util.Map row)
materialize a single object from the values of the Map row.
|
void |
readPkValuesFrom(ResultSetAndStatement rs,
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.
|
static final long serialVersionUID
java.lang.Object readObjectFrom(java.util.Map row)
row
- the Map containing the new valuesvoid refreshObject(java.lang.Object instance, java.util.Map row)
instance
- the instance to refreshrow
- the Map containing the new valuesvoid readObjectArrayFrom(ResultSetAndStatement rs, java.util.Map row)
void readPkValuesFrom(ResultSetAndStatement rs, java.util.Map row)
void setClassDescriptor(ClassDescriptor cld)
ClassDescriptor getClassDescriptor()
ClassDescriptor
(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