org.jpox.store.query
Class TransientIDROF

java.lang.Object
  extended byorg.jpox.store.query.TransientIDROF
All Implemented Interfaces:
Query.ResultObjectFactory

public final class TransientIDROF
extends java.lang.Object
implements Query.ResultObjectFactory

Creates a Transient object instance from a ResultSet (JDBC).

Version:
$Revision: 1.6 $

Field Summary
protected  int[] fieldNumbers
           
protected  StatementExpressionIndex[] statementExpressionIndex
           
 
Constructor Summary
TransientIDROF(java.lang.Class candidateClass, int[] fieldNumbers, StatementExpressionIndex[] statementExpressionIndex)
          Constructor
 
Method Summary
 java.lang.Object getObject(PersistenceManager pm, java.sql.ResultSet rs, java.lang.Class pcClass)
          Instantiates a persistent object instance from the current row of the given result set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fieldNumbers

protected final int[] fieldNumbers

statementExpressionIndex

protected final StatementExpressionIndex[] statementExpressionIndex
Constructor Detail

TransientIDROF

public TransientIDROF(java.lang.Class candidateClass,
                      int[] fieldNumbers,
                      StatementExpressionIndex[] statementExpressionIndex)
Constructor

Parameters:
candidateClass - the candidate class
fieldNumbers - the absolute field numbers with the retrieved fields
statementExpressionIndex - the StatementExpressionIndex
Method Detail

getObject

public java.lang.Object getObject(PersistenceManager pm,
                                  java.sql.ResultSet rs,
                                  java.lang.Class pcClass)
Description copied from interface: Query.ResultObjectFactory
Instantiates a persistent object instance from the current row of the given result set.

Specified by:
getObject in interface Query.ResultObjectFactory
Parameters:
pm - The PersistenceManager.
rs - The result set. The contents of the current row are used to locate or create a corresponding persistent object instance.
pcClass - The PersistenceCapable class
Returns:
A persistent object instance.


Copyright © -2007 . All Rights Reserved.