Package org.emftrace.metamodel.QUARCModel.GSS

Examples of org.emftrace.metamodel.QUARCModel.GSS.Impact


   
   
    Pattern si1 = createPattern(gss, 1);
    Pattern si2 = createPattern(gss, 2);
   
    Impact i1 = createImpact(gss, p1, g1, 100.0f);
    Impact i2 = createImpact(gss, si1, p2, 100.0f);
   
    isA isa1 = createIsA(gss, si2, si1);
    Decomposition d1 = createDecomposition(gss, p2, p1);
   
    applicableElementCache = new GSSQueryCache(queryResultSet, accessLayer);
View Full Code Here


   *            the weight of the offset
   * @return the created Impact relation
   */
  protected Impact createImpact(GSS gss, Element source, Element target,
      float weight) {
    Impact impact = GSSFactory.eINSTANCE.createImpact();
    impact.setSource(source);
    impact.setTarget(target);
    impact.setWeight(String.valueOf(weight));
    gss.getRelations().add(impact);
    return impact;
  }
View Full Code Here

    Decomposition decomposition5 = GSSFactory.eINSTANCE.createDecomposition();
    decomposition5.setSource(p6);
    decomposition5.setTarget(p4);

   
    Impact impact1 = GSSFactory.eINSTANCE.createImpact();
    impact1.setSource(p1);
    impact1.setTarget(g1);
    impact1.setWeight("100");
   
    Impact impact2 = GSSFactory.eINSTANCE.createImpact();
    impact2.setSource(si1);
    impact2.setTarget(p2);
    impact2.setWeight("100");
   
    Impact impact3 = GSSFactory.eINSTANCE.createImpact();
    impact3.setSource(si1);
    impact3.setTarget(p3);
    impact3.setWeight("100");
   
    Impact impact4 = GSSFactory.eINSTANCE.createImpact();
    impact4.setSource(si2);
    impact4.setTarget(p2);
    impact4.setWeight("100");
   
    Impact impact5 = GSSFactory.eINSTANCE.createImpact();
    impact5.setSource(si2);
    impact5.setTarget(p3);
    impact5.setWeight("100");
   
    Impact impact6 = GSSFactory.eINSTANCE.createImpact();
    impact6.setSource(si1);
    impact6.setTarget(p5);
    impact6.setWeight("100");
   
    Impact impact7 = GSSFactory.eINSTANCE.createImpact();
    impact7.setSource(p4);
    impact7.setTarget(g1);
    impact7.setWeight("100");
   
    Impact impact8 = GSSFactory.eINSTANCE.createImpact();
    impact8.setSource(si2);
    impact8.setTarget(p5);
    impact8.setWeight("100");
   
    Impact impact9 = GSSFactory.eINSTANCE.createImpact();
    impact9.setSource(si2);
    impact9.setTarget(p6);
    impact9.setWeight("100");

   
    gss.getRelations().add(decomposition1);
    gss.getRelations().add(decomposition2);
    gss.getRelations().add(decomposition3);
View Full Code Here

    Goal g1 = createGoal(gss, 1);

    Principle p1 = createPrinciple(gss, 1);
    Pattern si1 = createPattern(gss, 1);

    Impact impact = GSSFactory.eINSTANCE.createImpact();
    impact.setSource(p1);
    impact.setTarget(g1);
    impact.setWeight(null);

    createImpact(gss, si1, p1, 1);

    gssQuery.setIncludeAll(true);
    executeRequiredPhases(false);
View Full Code Here

TOP

Related Classes of org.emftrace.metamodel.QUARCModel.GSS.Impact

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.