|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A specification of the interface for a class that build SQL statements from a DataAccessObject RecordSet. Company MoreData
| Method Summary | |
java.lang.String |
getSQLStatement(SQLInformation info)
Builds a SQL command for interacting with a table of a relational database repository. |
void |
loadData(java.sql.ResultSet resultSet)
Load data from a ResultSet into the RecordSet. |
void |
setDAOFieldsInfo(DAOFieldsInfo fieldsInfo)
Set the DAOFieldsInfo object with information about the columns of the RecordSet. |
void |
setRecordSet(RecordSet recordSet)
Set the RecordSet used to store the information read from the repository. |
void |
setStatementParameters(java.sql.PreparedStatement statement,
SQLInformation info)
Set the values of a statement parameters. |
| Method Detail |
public java.lang.String getSQLStatement(SQLInformation info)
info - Adicional information to help building the sql statement.public void setDAOFieldsInfo(DAOFieldsInfo fieldsInfo)
fieldsInfo - The DAOFieldInfo object.public void setRecordSet(RecordSet recordSet)
recordSet - The RecorSet object to store the readed information.
public void setStatementParameters(java.sql.PreparedStatement statement,
SQLInformation info)
throws WriterException
statement - The prepared statement.info - Adicional information to help building the sql statement.
WriteException - If an error occur will setting the statement
parameters.
WriterException
public void loadData(java.sql.ResultSet resultSet)
throws ReaderException
resultSet - A resultSet with the data to be loaded into the RecordSet.
ReaderException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||