| java.lang.Object org.apache.beehive.controls.system.jdbc.ResultSetMapper
All known Subclasses: org.apache.beehive.controls.system.jdbc.DefaultRowSetResultSetMapper, org.apache.beehive.controls.system.jdbc.DefaultResultSetMapper, org.apache.beehive.controls.system.jdbc.DefaultObjectResultSetMapper, org.apache.beehive.controls.system.jdbc.DefaultIteratorResultSetMapper,
ResultSetMapper | abstract public class ResultSetMapper (Code) | | Extend this class to create new ResultSet mappers. The extended class will be invoked by the JdbcController
when it is time to map a ResultSet to a method's return type.
ResultSet mappers are specified on a per method basis using the SQL annotation's resultSetMapper field.
|
Method Summary | |
public boolean | canCloseResultSet() | abstract public Object | mapToResultType(ControlBeanContext context, Method m, ResultSet resultSet, Calendar cal) Map a ResultSet to an object type
Parameters: context - A ControlBeanContext instance, see Beehive controls javadoc for additional information Parameters: m - Method assoicated with this call. Parameters: resultSet - Result set to map. Parameters: cal - A Calendar instance for time/date value resolution. |
canCloseResultSet | public boolean canCloseResultSet()(Code) | | Can the ResultSet which this mapper uses be closed by the Jdbc control?
true if the ResultSet can be closed by the JdbcControl |
mapToResultType | abstract public Object mapToResultType(ControlBeanContext context, Method m, ResultSet resultSet, Calendar cal)(Code) | | Map a ResultSet to an object type
Parameters: context - A ControlBeanContext instance, see Beehive controls javadoc for additional information Parameters: m - Method assoicated with this call. Parameters: resultSet - Result set to map. Parameters: cal - A Calendar instance for time/date value resolution. The Object resulting from the ResultSet |
|
|