org.jpox.store.query
Class TransientIDROF
java.lang.Object
org.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 $
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 |
fieldNumbers
protected final int[] fieldNumbers
statementExpressionIndex
protected final StatementExpressionIndex[] statementExpressionIndex
TransientIDROF
public TransientIDROF(java.lang.Class candidateClass,
int[] fieldNumbers,
StatementExpressionIndex[] statementExpressionIndex)
- Constructor
- Parameters:
candidateClass
- the candidate classfieldNumbers
- the absolute field numbers with the retrieved fieldsstatementExpressionIndex
- the StatementExpressionIndex
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.