Package be.gaudry.dao.edu.derby
Class DerbyFactory
java.lang.Object
be.gaudry.dao.edu.DAOFactory
be.gaudry.dao.edu.derby.DerbyFactory
- All Implemented Interfaces:
IEduDAO
,INotifier
,PropertyChangeListener
,EventListener
- Direct Known Subclasses:
DerbyAdminFactory
- Since:
- 1.0 Oct 13, 2008
- Author:
- Steph GAUDRY
-
Field Summary
Fields inherited from class be.gaudry.dao.edu.DAOFactory
daoLanguageRB
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
create()
TODO : place creation scripts in a DerbyStructure classprotected void
finalize()
Returns the specific persistent layer implementation ofIConfigDao
.Returns the specific persistent layer implementation ofICourse
.getInfos()
TODO: use language filestatic DerbyFactory
Returns the specific persistent layer implementation ofIPersonDao
.Returns the specific persistent layer implementation ofIPlanningDao
.Returns the specific persistent layer implementation ofISchoolDao
.void
init()
Methods inherited from class be.gaudry.dao.edu.DAOFactory
getDAOString, getLocaleString, propertyChange, registerMessageListener, removeMessageListener, reportProgress, reportProgress, reportProgress, reportProgress, setLanguage
-
Field Details
-
VERSION
-
DB_NAME
Name of the database directory- See Also:
- Constant Field Values
-
-
Constructor Details
-
DerbyFactory
protected DerbyFactory()Creates an instance of DerbyFactory.
-
-
Method Details
-
getInstance
-
finalize
-
init
public void init() -
getIPersonDao
Description copied from interface:IEduDAO
Returns the specific persistent layer implementation ofIPersonDao
.- Returns:
-
getISchoolDao
Description copied from interface:IEduDAO
Returns the specific persistent layer implementation ofISchoolDao
.- Returns:
-
getIConfigDao
Description copied from interface:IEduDAO
Returns the specific persistent layer implementation ofIConfigDao
.- Returns:
-
getIPlanningDao
Description copied from interface:IEduDAO
Returns the specific persistent layer implementation ofIPlanningDao
.- Returns:
-
getICourseDao
Description copied from interface:IEduDAO
Returns the specific persistent layer implementation ofICourse
.- Returns:
-
getInfos
TODO: use language file- Returns:
-
create
TODO : place creation scripts in a DerbyStructure class- Returns:
- Throws:
SQLException
-