Package org.netbeans.modules.exceptions.utils

Examples of org.netbeans.modules.exceptions.utils.PersistenceUtils


    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);
    }
View Full Code Here

TOP

Related Classes of org.netbeans.modules.exceptions.utils.PersistenceUtils

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.