Examples of TCGBasicVariableType


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

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setType(TCGBasicVariableType newType) {
    TCGBasicVariableType oldType = type;
    type = newType == null ? TYPE_EDEFAULT : newType;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, ActivityTestCaseGraphPackage.TCGOCL_LITERAL_EXP__TYPE, oldType, type));
  }
View Full Code Here

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

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setVariableType(TCGBasicVariableType newVariableType) {
    TCGBasicVariableType oldVariableType = variableType;
    variableType = newVariableType == null ? VARIABLE_TYPE_EDEFAULT : newVariableType;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, ActivityTestCaseGraphPackage.TCG_BASIC_VARIABLE__VARIABLE_TYPE, oldVariableType, variableType));
  }
View Full Code Here

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

    // XXX maybe one could make a difference between Variables and
    // Parameters, since OCL semantic says Parameters are Immutable within
    // an activity.
    Type umlType = umlParameter.getType();
    TCGVariable tcgVar = null;
    TCGBasicVariableType tcgType = null;
    tcgType = TCGBasicVariableType.getByName(umlType.getName());
    if (tcgType != null) {
      tcgVar = factory.createTCGBasicVariable();
      ((TCGBasicVariable) tcgVar).setVariableType(tcgType);
    } else {
View Full Code Here

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

  }

  protected AbstractTCGElement handleProperty(Property umlProperty) {
    Type umlType = umlProperty.getType();
    TCGVariable tcgVar = null;
    TCGBasicVariableType tcgType = null;
    tcgType = TCGBasicVariableType.getByName(umlType.getName());
    if (tcgType != null) {
      tcgVar = factory.createTCGBasicVariable();
      ((TCGBasicVariable) tcgVar).setVariableType(tcgType);
    } else {
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.