org.melati.poem
Class TailoredResultSetEnumeration<T>

Package class diagram package TailoredResultSetEnumeration
java.lang.Object
  extended by org.melati.poem.ResultSetEnumeration<T>
      extended by org.melati.poem.TailoredResultSetEnumeration<T>
All Implemented Interfaces:
Enumeration<T>, SkipEnumeration<T>
Direct Known Subclasses:
TailoredQuery.FirstRawTailoredResultSetEnumeration

public class TailoredResultSetEnumeration<T>
extends ResultSetEnumeration<T>

A ResultSetEnumeration relying on a TailoredQuery for column and access information.


Field Summary
protected  TailoredQuery query
           
 
Constructor Summary
TailoredResultSetEnumeration(TailoredQuery query, ResultSet resultSet)
          Constructor.
 
Method Summary
protected  Object mapped(ResultSet them)
          Return the current result set row packaged with column names in a FieldSet.
 
Methods inherited from class org.melati.poem.ResultSetEnumeration
hasMoreElements, nextElement, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

query

protected TailoredQuery query
Constructor Detail

TailoredResultSetEnumeration

public TailoredResultSetEnumeration(TailoredQuery query,
                                    ResultSet resultSet)
Constructor.

Parameters:
query - the TailoredQuery
resultSet - ResultSet to create Enumeration from
Method Detail

mapped

protected Object mapped(ResultSet them)
                 throws SQLException,
                        NoSuchRowPoemException
Return the current result set row packaged with column names in a FieldSet.

Specified by:
mapped in class ResultSetEnumeration<T>
Throws:
SQLException
NoSuchRowPoemException
See Also:
ResultSetEnumeration.mapped(java.sql.ResultSet)


Copyright © 2000-2010 PanEris. All Rights Reserved.