/** Returns the DAO for Condition class. It will create it or just give the cached value. */ public Dao<Condition, Integer> getConditionDAO() throws SQLException { if (conditionDAO == null) { conditionDAO = BaseDaoImpl.createDao(getConnectionSource(), Condition.class); } return conditionDAO; }
/** Returns the DAO for ProfileElement class. It will create it or just give the cached value. */ public Dao<ProfileElement, Integer> getProfileElementDAO() throws SQLException { if (profileElementDAO == null) { profileElementDAO = BaseDaoImpl.createDao(getConnectionSource(), ProfileElement.class); } return profileElementDAO; }
/** Returns the DAO for TimeRule class. It will create it or just give the cached value. */ public Dao<TimeRule, Integer> getTimeRuleDAO() throws SQLException { if (timeRuleDAO == null) { timeRuleDAO = BaseDaoImpl.createDao(getConnectionSource(), TimeRule.class); } return timeRuleDAO; }