Package org.xilaew.atg.model.activityTestCaseGraph

Examples of org.xilaew.atg.model.activityTestCaseGraph.TCGOCLExpression


   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetSource(TCGOCLExpression newSource, NotificationChain msgs) {
    TCGOCLExpression oldSource = source;
    source = newSource;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ActivityTestCaseGraphPackage.TCGOCL_OPERATION_CALL_EXP__SOURCE, oldSource, newSource);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here


    String function = "";
    String source = doSwitch(object.getSource());
    StringBuilder argumentList = new StringBuilder();
    for (Iterator<TCGOCLExpression> it = object.getArguments().iterator(); it
        .hasNext();) {
      TCGOCLExpression arg = it.next();
      argumentList.append(doSwitch(arg));
      if (it.hasNext())
        argumentList.append(", ");
    }
    switch (object.getOperation().getValue()) {
View Full Code Here

    if (name == null) {
      name = randomString() + "Action";
    }
    tcgAction.setName(name);
    for (Constraint umlConstraint : umlAction.getLocalPostconditions()) {
      TCGOCLExpression tcgOCLExp = (TCGOCLExpression) transformElement(umlConstraint);
      if (tcgOCLExp != null) {
        tcgAction.getLocalPostconditions().add(tcgOCLExp);
      }
    }
    return tcgAction;
View Full Code Here

TOP

Related Classes of org.xilaew.atg.model.activityTestCaseGraph.TCGOCLExpression

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.