Package eu.planets_project.tb.impl.model.ontology

Examples of eu.planets_project.tb.impl.model.ontology.OntologyHandlerImpl


          l = staticOps.get(stageName);
        }
       
        //as well as the Measurements added from the Ontology (and stored in the Experiment Executable)
        if(ontoOps!=null){
            OntologyHandlerImpl ontohandler = OntologyHandlerImpl.getInstance();
            for(String propURI : ontoOps.get(stageName)){
              //query the authority to get the OntologyProperty by URI
              OntologyProperty ontoProp = ontohandler.getProperty(propURI);
             
          try {
            MeasurementImpl m = OntoPropertyUtil.createMeasurementFromOntologyProperty(ontoProp);
            l.add(m);
          } catch (Exception e) {
View Full Code Here


                    }
                }
            }
        }
       
        OntologyHandlerImpl onto = OntologyHandlerImpl.getInstance();
        for( Property p : properties ) {
            _log.info( "Property: " + p );
            OntologyProperty op = onto.getProperty(p.getUri().toString());
            if( op != null ) {
                _log.info("P: "+p.getUri()+" OP: "+op.getURI());
                _log.info("P: "+p.getName()+" OP: "+op.getName());
                _log.info("P: "+p.getDescription()+" OP: "+op.getComment());
                _log.info("P: "+p.getType()+" OP: "+op.getType());
View Full Code Here

TOP

Related Classes of eu.planets_project.tb.impl.model.ontology.OntologyHandlerImpl

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.