Package edu.stanford.smi.protege.model

Examples of edu.stanford.smi.protege.model.Project.save()


       
        // check completeness
        if (currentProject.hasCompleteSources()) {
          ArrayList errors = new ArrayList();
            currentProject.setIsReadonly(false);
            currentProject.save(errors);
            if(!errors.isEmpty())
              throw new IOntologyException("problem saving "+getURI(),getException(errors));      
        }
       
        // save included projects
View Full Code Here


       
        // check completeness
        if (currentProject.hasCompleteSources()) {
          ArrayList errors = new ArrayList();
            currentProject.setIsReadonly(false);
            currentProject.save(errors);
            if(!errors.isEmpty())
              throw new IOntologyException("problem saving "+getURI(),getException(errors));      
        }
       
        // save included projects
View Full Code Here

        ci.doImport(file);

        log.info("Started saving of OWL file on " + new Date());
        long t0 = System.currentTimeMillis();

        prj.save(new ArrayList());

        log.info("Finished saving OWL file in " + ((System.currentTimeMillis() - t0) / 1000) + " seconds");

    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.