com.pow2.dao
Class DAO

java.lang.Object
  extended bycom.pow2.dao.AbstractDAO
      extended bycom.pow2.dao.DAO

public class DAO
extends AbstractDAO

Data access object class.
Extends AbstractDAO, and use the singleton design pattern to provide an unique object instance per vm.

Version:
$Id: DAO.java,v 1.1.1.1 2004/08/31 20:22:46 foxat Exp $
Author:
Luca Fossato

Field Summary
 
Fields inherited from class com.pow2.dao.AbstractDAO
cat
 
Constructor Summary
protected DAO()
          Protected default constructor.
 
Method Summary
static DAO instance()
          Get the instance of DAO class.
 
Methods inherited from class com.pow2.dao.AbstractDAO
assertion, closeResources, closeResources, closeResources, count, count, delete, delete, encode, getConnection, getConnection, getNewKey, isDebugEnabled, populate, setLike, setLike
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DAO

protected DAO()
Protected default constructor.
Initialize the data access object properties, and load the selected JDBC Driver class.

Method Detail

instance

public static DAO instance()
Get the instance of DAO class.

Returns:
the instance of DAO class.


Copyright © 2002-2004 Power Of Two S.R.L. All Rights Reserved.