idi.diplom.linda.db.interfaces
Class DAOFactory

java.lang.Object
  extended by idi.diplom.linda.db.interfaces.DAOFactory
Direct Known Subclasses:
HibernateDAOFactory

public abstract class DAOFactory
extends java.lang.Object


Field Summary
static java.lang.Class HIBERNATE
          Creates a standalone DAOFactory that returns unmanaged DAO beans for use in any environment Hibernate has been configured for.
 
Constructor Summary
DAOFactory()
           
 
Method Summary
abstract  AlarmDAO getAlarmDAO()
           
abstract  MedPacketDAO getMedPacketDAO()
           
abstract  NoteDAO getNoteDAO()
           
abstract  PatientDAO getPatientDAO()
           
static DAOFactory instance(java.lang.Class factory)
          Factory method for instantiation of concrete factories.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HIBERNATE

public static final java.lang.Class HIBERNATE
Creates a standalone DAOFactory that returns unmanaged DAO beans for use in any environment Hibernate has been configured for. Uses HibernateUtil/SessionFactory and Hibernate context propagation (CurrentSessionContext), thread-bound or transaction-bound, and transaction scoped.

Constructor Detail

DAOFactory

public DAOFactory()
Method Detail

instance

public static DAOFactory instance(java.lang.Class factory)
Factory method for instantiation of concrete factories.


getAlarmDAO

public abstract AlarmDAO getAlarmDAO()

getMedPacketDAO

public abstract MedPacketDAO getMedPacketDAO()

getNoteDAO

public abstract NoteDAO getNoteDAO()

getPatientDAO

public abstract PatientDAO getPatientDAO()