Package org.mmisw.orrclient.core.vine

Examples of org.mmisw.orrclient.core.vine.MappingOntologyCreator


      CreateOntologyInfo createOntologyInfo,
      MappingDataCreationInfo mappingDataCreationInfo,
      CreateOntologyResult createVocabResult
  ) {

    MappingOntologyCreator ontCreator;
    try {
      ontCreator = new MappingOntologyCreator(createOntologyInfo, mappingDataCreationInfo);
    }
    catch (Exception e) {
      String error = "Error creating mapping ontology: " +e.getMessage();
      log.error(error, e);
      createVocabResult.setError(error);
      return;
    }
   
    ontCreator.createOntology(createVocabResult);
  }
View Full Code Here


    coi.setAuthority(authority);
    coi.setShortName(shortName);
    Map<String, String> metadataValues = new HashMap<String, String>();
    coi.setMetadataValues(metadataValues);
   
    MappingOntologyCreator creator = new MappingOntologyCreator(coi, mdci);
   
    CreateOntologyResult result = new CreateOntologyResult();
    creator.createOntology(result);
   
    return result;
  }
View Full Code Here

      CreateOntologyInfo createOntologyInfo,
      MappingDataCreationInfo mappingDataCreationInfo,
      CreateOntologyResult createVocabResult
  ) {

    MappingOntologyCreator ontCreator;
    try {
      ontCreator = new MappingOntologyCreator(createOntologyInfo, mappingDataCreationInfo);
    }
    catch (Exception e) {
      String error = "Error creating mapping ontology: " +e.getMessage();
      log.error(error, e);
      createVocabResult.setError(error);
      return;
    }
   
    ontCreator.createOntology(createVocabResult);
  }
View Full Code Here

TOP

Related Classes of org.mmisw.orrclient.core.vine.MappingOntologyCreator

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.