Package sg.edu.nus.comp.simTL.engine.tracing

Examples of sg.edu.nus.comp.simTL.engine.tracing.ModelCorrespondence


    stillNotifying_temp=false;
   
    IInterpreter interpreter = SimTLFactory.createInterpreter();
    InterpretationResult ir = interpreter.interprete(template, outURI);
    templateInstance = ir.getInstance();
    ModelCorrespondence modelCorrespondence = ir.getModelCorrespondence();
   
    //validate
    if(templateInstance == null){
      throw new SynchronizingException("TemplateInstanceModel is null. Stop synchronization.");
    } else if(modelCorrespondence == null||modelCorrespondence.isEmpty()){
      throw new SynchronizingException("No explicit ModelCorrespondence given. Stop synchronization.");
    }
   
    synchronizer = SimTLFactory.createSynchronizer();
    synchronizer.startSynchronization(template, templateInstance, modelCorrespondence, decisionMaker);
View Full Code Here


  public InterpretationResult interprete(ITemplate template, URI outURI) throws SimTLException{
    this.template = template;
    this.outURI=outURI;
    currentContext = new DynamicContext();
    interpretedX2IMap = new HashMap<EObject, EObject>();
    modelCorrespondence = new ModelCorrespondence();
   
    try{
      load();
      instance.save();
    } catch(ValidationException e){
View Full Code Here

TOP

Related Classes of sg.edu.nus.comp.simTL.engine.tracing.ModelCorrespondence

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.