Examples of OtherOntologyData


Examples of org.mmisw.orrclient.gwt.client.rpc.OtherOntologyData

   * external" ontology functionality.
   */
  void createNewFromFile(CreateOntologyInfo createOntologyInfo) {
    createNewBase();
   
    OtherOntologyData otherOntologyData = null;
   
    BaseOntologyInfo baseOntologyInfo = createOntologyInfo != null ? createOntologyInfo.getBaseOntologyInfo() : null;
    if ( baseOntologyInfo instanceof TempOntologyInfo ) {
      // TODO check actual type of ontology data? It should be OtherOntologyData in this case.
      otherOntologyData = (OtherOntologyData) baseOntologyInfo.getOntologyData();
    }
    else {
      // create (empty) data for the ontologyInfo
      otherOntologyData = new OtherOntologyData();
    }
   
    ontologyInfo.setOntologyData(otherOntologyData);

    // create dataPanel
View Full Code Here

Examples of org.mmisw.orrclient.gwt.client.rpc.OtherOntologyData

    OntInfoUtil.getEntities(baseOntologyInfo, ontModel);
   
    OntologyData od = baseOntologyInfo.getOntologyData();
    assertSame("ontology data should be Other", OtherOntologyData.class, od.getClass());
   
    OtherOntologyData mod = (OtherOntologyData) od;
   
    BaseOntologyData bod = mod.getBaseOntologyData();
   
    if ( log.isDebugEnabled() ) {
      log.debug("getClasses    =" +bod.getClasses());
      log.debug("getIndividuals=" +bod.getIndividuals());
      log.debug("getProperties =" +bod.getProperties());
View Full Code Here

Examples of org.mmisw.orrclient.gwt.client.rpc.OtherOntologyData

    }
   
  }

  protected static OntologyData _createOtherOntologyData(BaseOntologyData baseOntologyData) {
    OtherOntologyData ontologyData = new OtherOntologyData();
    ontologyData.setBaseOntologyData(baseOntologyData);
    // TODO
    return ontologyData;
  }
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.