|
JDBaccess API 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataAccess
Super interface for all types of data access such as Insert, Update, Delete, Select and Call (Function, Procedure).
Method Summary | |
---|---|
void |
end()
Terminate the data access object, so that it can be moved to the internal cache (in statement pool) for later reuse |
java.lang.String |
getName()
Get the name of the data access object. |
java.lang.String |
getObjectType()
Get the object type of the data access object. |
java.lang.String |
getPackageName()
Get the package name of the data access object. |
java.lang.Long |
getSize()
Get the size of the data access object. |
java.lang.String |
getSql()
Get the sql string of the data access object. |
void |
setName(java.lang.String name)
Set the name of the data access |
void |
setObjectType(java.lang.String objectType)
Set the object type of the data access. |
void |
setPackageName(java.lang.String packageName)
Set the package name of the data access for structuring the data access objects |
void |
setParameters(java.util.ArrayList parameters)
Set parameters to the data access object. |
void |
setSql(java.lang.String sqlString)
Set the sql string of the data access |
java.lang.String |
toString()
Get the string representation of the data access object |
Method Detail |
---|
void setName(java.lang.String name)
name
- of data access e.g. ByNamevoid setSql(java.lang.String sqlString)
sqlString
- e.g. select * from employee where name = ?void setObjectType(java.lang.String objectType)
objectType
- e.g. employeevoid setPackageName(java.lang.String packageName)
packageName
- e.g. com.your_domain_your_product.employee.business.dbvoid end() throws ApplicationException
ApplicationException
java.lang.Long getSize() throws ApplicationException
ApplicationException
void setParameters(java.util.ArrayList parameters)
parameters
- as an ArrayListjava.lang.String getPackageName()
java.lang.String getName()
java.lang.String getObjectType()
java.lang.String getSql()
java.lang.String toString()
toString
in class java.lang.Object
|
JDBaccess API 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |