org.zeroexchange.dao.location
Class CountryDAOImpl

java.lang.Object
  extended by org.zeroexchange.dao.HibernateSessionHolder
      extended by org.zeroexchange.dao.BaseHibernateDAO<String,T>
          extended by org.zeroexchange.dao.BaseStringPKDAO<Country>
              extended by org.zeroexchange.dao.location.CountryDAOImpl
All Implemented Interfaces:
DAO<String,Country>, CountryDAO, StringPKDAO<Country>

public class CountryDAOImpl
extends BaseStringPKDAO<Country>
implements CountryDAO

Author:
black

Constructor Summary
CountryDAOImpl()
           
 
Method Summary
 List<Country> getCountries()
          Returns countries.
 Class<Country> getEntityClass()
          
 
Methods inherited from class org.zeroexchange.dao.BaseHibernateDAO
getById, removeById, save
 
Methods inherited from class org.zeroexchange.dao.HibernateSessionHolder
getSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.zeroexchange.dao.DAO
getById, removeById, save
 

Constructor Detail

CountryDAOImpl

public CountryDAOImpl()
Method Detail

getEntityClass

public Class<Country> getEntityClass()

Specified by:
getEntityClass in class BaseHibernateDAO<String,Country>

getCountries

public List<Country> getCountries()
Returns countries.

Specified by:
getCountries in interface CountryDAO


Copyright © 2013. All Rights Reserved.