}
@SuppressWarnings("unchecked")
@Override
public GenericDao getDao(Class<? extends AbstractDomainObject> clazz) {
GenericDao dao = daoMap.get(clazz);
if (dao != null) {
return dao;
} else {
throw new PTException(ErrorCode.ERR_PERSISTENCE_DAO_NOT_SUPPORTED,
messageHelper.getErrorMessage(ErrorCode.ERR_PERSISTENCE_DAO_NOT_SUPPORTED,