Arch4J 1.1

org.arch4j.persistence.domainmapper
Class BaseDomainMapper.BaseDomainResultSetVisitor

java.lang.Object
  |
  +--org.arch4j.dataaccess.visitors.ResultSetAdapter
        |
        +--org.arch4j.persistence.domainmapper.BaseDomainMapper.BaseDomainResultSetVisitor
All Implemented Interfaces:
ResultSetVisitor
Enclosing class:
BaseDomainMapper

public class BaseDomainMapper.BaseDomainResultSetVisitor
extends ResultSetAdapter

Database result set visitor used to retrieve a list of domain objects.


Constructor Summary
BaseDomainMapper.BaseDomainResultSetVisitor()
           
 
Method Summary
 List getDomainObjects()
           
 boolean processNextRow(ResultSet aResultSet)
          Process the next row of the SQL query.
 
Methods inherited from class org.arch4j.dataaccess.visitors.ResultSetAdapter
getNumberOfRowsAffected, setNumberOfRowsAffected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseDomainMapper.BaseDomainResultSetVisitor

public BaseDomainMapper.BaseDomainResultSetVisitor()
Method Detail

getDomainObjects

public List getDomainObjects()

processNextRow

public boolean processNextRow(ResultSet aResultSet)
Description copied from class: ResultSetAdapter
Process the next row of the SQL query. The default is to just keep processing each row.

Specified by:
processNextRow in interface ResultSetVisitor
Overrides:
processNextRow in class ResultSetAdapter
Parameters:
aResultSet - The result set to process. The cursor is in the proper position.
Returns:
true if the processor should keep spinning through the result set.
See Also:
ResultSetVisitor.processNextRow(ResultSet)

Arch4J 1.1

Copyright © 2000-2004 SpiderLogic, a service of Wipfli Ullrich Bertelson LLP.