Package org.fugerit.java.core.db.dao
Class BasicDAOFactory
- java.lang.Object
-
- org.fugerit.java.core.db.dao.BasicDAOFactory
-
- All Implemented Interfaces:
DAOFactory
public class BasicDAOFactory extends Object implements DAOFactory
Basic DAO Factory.
- Author:
- Fugerit
-
-
Constructor Summary
Constructors Constructor Description BasicDAOFactory(ConnectionFactory cFactory)
BasicDAOFactory(ConnectionFactory cFactory, FieldFactory fFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Connection
getConnection()
ConnectionFactory
getConnectionFactory()
DAOUtils
getDaoUtils()
FieldFactory
getFieldFactory()
Object[]
getSqlArgs()
void
setSqlArgs(Object[] sqlArgs)
-
-
-
Field Detail
-
sqlArgs
public Object[] sqlArgs
-
-
Constructor Detail
-
BasicDAOFactory
public BasicDAOFactory(ConnectionFactory cFactory)
-
BasicDAOFactory
public BasicDAOFactory(ConnectionFactory cFactory, FieldFactory fFactory)
-
-
Method Detail
-
getConnection
public Connection getConnection() throws DAOException
- Specified by:
getConnection
in interfaceDAOFactory
- Throws:
DAOException
-
getConnectionFactory
public ConnectionFactory getConnectionFactory()
- Specified by:
getConnectionFactory
in interfaceDAOFactory
-
getFieldFactory
public FieldFactory getFieldFactory()
- Specified by:
getFieldFactory
in interfaceDAOFactory
-
getSqlArgs
public Object[] getSqlArgs()
- Specified by:
getSqlArgs
in interfaceDAOFactory
-
setSqlArgs
public void setSqlArgs(Object[] sqlArgs)
-
getDaoUtils
public DAOUtils getDaoUtils()
- Specified by:
getDaoUtils
in interfaceDAOFactory
-
-