org.fm.addressbook.dao
Class DAOFactory
java.lang.Object
org.fm.addressbook.dao.DAOFactory
- Direct Known Subclasses:
- HibernateDAOFactory
public abstract class DAOFactory
- extends java.lang.Object
JContact- online Address Book Management Systemhttp://jcontact.sourceforge.net/
Licensed under the terms of any of the following licenses at your choice: -
GNU General Public License Version 2 or later (the "GPL") http://www.gnu.org/licenses/gpl.html -
GNU Lesser General Public License Version 2.1 or later (the "LGPL") http://www.gnu.org/licenses/lgpl.html
DAO Factory class.
- Author:
- Tennyson Varghese
Aneesh S
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HIBERNATE
public static final int HIBERNATE
- See Also:
- Constant Field Values
DAOFactory
public DAOFactory()
getAddressBookDAO
public abstract AddressBookDAO getAddressBookDAO()
getContactDAO
public abstract ContactDAO getContactDAO()
getCategoryDAO
public abstract CategoryDAO getCategoryDAO()
getDAOFactory
public static DAOFactory getDAOFactory(int whichFactory)
- Select the DAOFactory with given param whichFactory
- Parameters:
whichFactory
-
- Returns:
- DAOFactory
getDAOFactory
public static DAOFactory getDAOFactory()