|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface should be implemented by classes that wish to be
dynamicly loaded from the DynamicFinder
based on the
results of the execution of a query.
From the Jaxor perspective, this is a really simple version of an EntityRow because the classes which implement this interface alone are not interested in being persisted to the database. It is also effectively merging the functionality of the AbstractMapper class because no dynamic mapping functionality is required either.
Method Summary | |
void |
load(java.sql.ResultSet results)
This method needs to be implemented in order to populate an implementing class based on the values of the ResultSet. |
ResultRow |
newInstance()
This method allows ResultRow instances to act as prototypes so that non-public classes can be used to retrieve DynamicFinder results. |
Method Detail |
public void load(java.sql.ResultSet results) throws java.sql.SQLException
results
- the ResultSet instance for this row
java.sql.SQLException
- if accessing the data fails for whatever reasonpublic ResultRow newInstance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |