Class DAOFactory

java.lang.Object
be.gaudry.dao.brolmeter.DAOFactory
Direct Known Subclasses:
DerbyFactory, DevFactory, HibernateFactory

public abstract class DAOFactory extends Object
Since:
1.0 Mar 15, 2009
Author:
Steph GAUDRY
  • Constructor Details

    • DAOFactory

      protected DAOFactory()
  • Method Details

    • getInstance

      public static DAOFactory getInstance()
      Returns:
      the instance
    • setDAO

      public static void setDAO(DAOFactory dao)
      Parameters:
      dao - the instance to set
    • getIDAOMeter

      public abstract IMeter getIDAOMeter()
    • getIDAOVehicle

      public abstract IMeter getIDAOVehicle()
    • getInfos

      public abstract String getInfos()
      Returns the specific persistent layer informations.
      Returns:
    • getDAOMeter

      public static IMeter getDAOMeter()
    • getDAOVehicle

      public static IMeter getDAOVehicle()