|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.zphinx.spine.data.DataAbstract
public abstract class DataAbstract
DataAbstract is an implementation of the DataAccessObject which contains base implementations of some the methods in a DataAccessObject.
Copyright ©Zphinx Software Solutions
AbstractDataBaseDAO,
AbstractFileDAO| Constructor Summary | |
|---|---|
DataAbstract()
|
|
| Method Summary | |
|---|---|
abstract boolean |
close()
Call all the actions to be performed before closing the datastore |
abstract Object |
fetchData(DataTransferObject obj)
Open a connection to the data storage system and return a suitable object |
String |
getErrors()
Get the total errors generated by this implementation |
int |
getStoreType()
The type of persistence system in use by this system. |
void |
setErrors(String error)
Set the errors generated by this implementation |
protected void |
setStoreType(int storeType)
Sets the type of data storage system to use with this object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataAbstract()
| Method Detail |
|---|
public abstract Object fetchData(DataTransferObject obj)
DataAccessObject
fetchData in interface DataAccessObjectobj - A DataTransferObject to parse
public String getErrors()
DataAccessObject
getErrors in interface DataAccessObjectpublic void setErrors(String error)
DataAccessObject
setErrors in interface DataAccessObjecterror - The error to add to the total errorspublic final int getStoreType()
DataAccessObject
getStoreType in interface DataAccessObjectpublic abstract boolean close()
DataAccessObject
close in interface DataAccessObjectprotected void setStoreType(int storeType)
storeType - The storeType to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||