|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectpt.moredata.dao.core.AbstractReader
Parcial implementation of the Reader interface. Company MoreData
| Field Summary | |
protected DAOFieldsInfo |
_fieldsInfo
DAOFieldsInfo object with information about DAO columns and tables. |
protected ReaderInformation |
_info
Aditional information to build the SQL command. |
protected RecordSet |
_recordSet
DAO RecordSet. |
| Constructor Summary | |
AbstractReader(DAOFieldsInfo fieldsInfo,
RecordSet recordSet)
Creates a new instance of AbstractReader |
|
| Method Summary | |
protected abstract void |
read()
Read data from the repository and write it to a RecordSet. |
void |
read(ReaderInformation info)
Read data from the repository and write it to a 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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected ReaderInformation _info
protected DAOFieldsInfo _fieldsInfo
protected RecordSet _recordSet
| Constructor Detail |
public AbstractReader(DAOFieldsInfo fieldsInfo,
RecordSet recordSet)
fieldsInfo - The DAO fields information object.recordSet - The DAO RecordSet object witch contains the DAO data.| Method Detail |
protected abstract void read()
throws ReaderException
ReaderException - If there is an error while reading data from
the repository.public void setDAOFieldsInfo(DAOFieldsInfo fieldsInfo)
setDAOFieldsInfo in interface ReaderfieldsInfo - The DAOFieldInfo object.public void setRecordSet(RecordSet recordSet)
setRecordSet in interface ReaderrecordSet - The RecorSet object to store the readed information.
public void read(ReaderInformation info)
throws ReaderException
read in interface Readerinfo -
ReadException - If an error occur will reading data
from the repository.
ReaderException - If an error occur will reading data
from the repository.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||