Examples of TCGComplexParameter


Examples of net.sf.parteg.base.testcasegraph.generated.TCGComplexParameter

  {
    if(in_oParameter instanceof TCGPrimitiveParameter)
      io_colPars.add((TCGPrimitiveParameter)in_oParameter);
    else if(in_oParameter instanceof TCGComplexParameter)
    {
      TCGComplexParameter oPar = (TCGComplexParameter)in_oParameter;
      for(TCGParameter oSubParam : oPar.getParameter())
      {
        collectContainedPrimitiveParametersHelper(oSubParam, io_colPars);
      }
    }
  }
View Full Code Here

Examples of net.sf.parteg.base.testcasegraph.generated.TCGComplexParameter

    {
      // create complex parameter
      org.eclipse.uml2.uml.Class oParameterClass = (org.eclipse.uml2.uml.Class)in_oParameter.getType();
      if(oParameterClass.getAllAttributes().size() > 0)
      {
        TCGComplexParameter oComplexTCGParameter = GeneratedFactory.eINSTANCE.createTCGComplexParameter();
        oComplexTCGParameter.setReference(in_oParameter);
        oComplexTCGParameter.setValueType(in_oParameter.getType());
        oComplexTCGParameter.setName(in_oParameter.getName());
        for(Property oProperty : oParameterClass.getAllAttributes())
        {
          TCGParameter oParam = createTCGParameter(oProperty);
          oComplexTCGParameter.getParameter().add(oParam);
        }
        oRetParam = oComplexTCGParameter;
      } else {
        oRetParam = createPrimitiveTCGParameter(in_oParameter);
      }
View Full Code Here

Examples of net.sf.parteg.base.testcasegraph.generated.TCGComplexParameter

//          (oReferencedParameter != null &&
//          in_oParameter.getReference().equals(oReferencedParameter)))
//        return in_oParameter;
    }
    else if(in_oParameter instanceof TCGComplexParameter) {
      TCGComplexParameter oComplexParameter = (TCGComplexParameter)in_oParameter;
      for(TCGParameter oSubParameter : oComplexParameter.getParameter())
      {
        TCGParameter oFoundParameter = findParameterElementMatchingToReference(
            oSubParameter, in_oTransitionInstance, in_oReference);
        if(oFoundParameter != null)
          return oFoundParameter;
View Full Code Here

Examples of net.sf.parteg.base.testcasegraph.generated.TCGComplexParameter

        if (result == null) result = caseTCGParameter(tcgPrimitiveParameter);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case GeneratedPackage.TCG_COMPLEX_PARAMETER: {
        TCGComplexParameter tcgComplexParameter = (TCGComplexParameter)theEObject;
        T result = caseTCGComplexParameter(tcgComplexParameter);
        if (result == null) result = caseTCGParameter(tcgComplexParameter);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
View Full Code Here

Examples of net.sf.parteg.base.testcasegraph.generated.TCGComplexParameter

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetContainer(TCGComplexParameter newContainer, NotificationChain msgs) {
    TCGComplexParameter oldContainer = container;
    container = newContainer;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GeneratedPackage.TCG_COMPLEX_PARAMETER__CONTAINER, oldContainer, newContainer);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

Examples of net.sf.parteg.base.testcasegraph.generated.TCGComplexParameter

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetContainer(TCGComplexParameter newContainer, NotificationChain msgs) {
    TCGComplexParameter oldContainer = container;
    container = newContainer;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GeneratedPackage.TCG_PRIMITIVE_PARAMETER__CONTAINER, oldContainer, newContainer);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

Examples of net.sf.parteg.base.testcasetree.generated.TCGComplexParameter

        if (result == null) result = caseTCGParameter(tcgPrimitiveParameter);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case GeneratedPackage.TCG_COMPLEX_PARAMETER: {
        TCGComplexParameter tcgComplexParameter = (TCGComplexParameter)theEObject;
        T result = caseTCGComplexParameter(tcgComplexParameter);
        if (result == null) result = caseTCGParameter(tcgComplexParameter);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
View Full Code Here

Examples of net.sf.parteg.base.testcasetree.generated.TCGComplexParameter

  {
    if(in_oParameter instanceof TCGPrimitiveParameter)
      colPars.add((TCGPrimitiveParameter)in_oParameter);
    else if(in_oParameter instanceof TCGComplexParameter)
    {
      TCGComplexParameter oPar = (TCGComplexParameter)in_oParameter;
      for(TCGParameter oSubParam : oPar.getParameter())
      {
        collectContainedPrimitiveParametersHelper(oSubParam);
      }
    }
  }
View Full Code Here

Examples of net.sf.parteg.base.testcasetree.generated.TCGComplexParameter

    {
      // create complex parameter
      org.eclipse.uml2.uml.Class oParameterClass = (org.eclipse.uml2.uml.Class)in_oParameter.getType();
      if(oParameterClass.getAllAttributes().size() > 0)
      {
        TCGComplexParameter oComplexTCGParameter = GeneratedFactory.eINSTANCE.createTCGComplexParameter();
        oComplexTCGParameter.setReference(in_oParameter);
        // TODO entfernen?
//        oComplexTCGParameter.setType(in_oParameter.getType());
        // TODO bei rekursiven Strukturen sollten die Parameter erst "on demand" aufgebaut werden
        for(Property oProperty : oParameterClass.getAllAttributes())
        {
          TCGParameter oParam = createTCGParameter(oProperty);
          oComplexTCGParameter.getParameter().add(oParam);
        }
        oRetParam = oComplexTCGParameter;
      } else {
        oRetParam = createPrimitiveTCGParameter(in_oParameter);
      }
View Full Code Here

Examples of net.sf.parteg.base.testcasetree.generated.TCGComplexParameter

    {
      oNewParameter = GeneratedFactory.eINSTANCE.createTCGPrimitiveParameter();
    }
    else if(in_oParameter instanceof TCGComplexParameter)
    {
      TCGComplexParameter oNewComplexParameter = GeneratedFactory.eINSTANCE.createTCGComplexParameter();
      for(TCGParameter oSubParam : ((TCGComplexParameter)in_oParameter).getParameter())
      {
        TCGParameter oNewSubParam = copyParameter(oSubParam);
        oNewComplexParameter.getParameter().add(oNewSubParam);
      }
      oNewParameter = oNewComplexParameter;
    }
    if(oNewParameter != null)
    {
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.