com.triactive.jdo.store.sql.expr
Interface ResultObjectFactory


public interface ResultObjectFactory

An object that produces result objects from an underlying JDBC result set. Different types of SQL expressions accomplish this in different ways, so an expression generates a suitable ResultExpression to access the results. A ResultExpression is then bound to a specific JDBC ResultSet, producing a ResultObjectFactory.

A result object factory must do nothing more than turn result set rows (or portions thereof) into objects and otherwise leave management of the ResultSet itself to others.

Author:
Mike Martin

Method Summary
 java.lang.Object newResult()
          Instantiates a result object from the current row of the factory's result set.
 

Method Detail

newResult

public java.lang.Object newResult()
Instantiates a result object from the current row of the factory's result set.

Returns:
A result object.


Copyright 2001-2007 The TJDO Project All Rights Reserved.