public void setStatname(String statname) {
this.statname = statname;
}
public static void loadIntoCache(String name) {
PersistenceUtils pUtils = PersistenceUtils.getInstance();
Statistic stat = (Statistic) pUtils.getExist("Statistic.findByStatname", name);
if (stat == null) {
stat = new Statistic(name);
pUtils.persist(stat);
}
statisticCache.put(name, stat);
}