Package net.sf.parteg.base.testcasegraph.generated

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


   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetPostcondition(TCGDisjunctiveNormalForm newPostcondition, NotificationChain msgs) {
    TCGDisjunctiveNormalForm oldPostcondition = postcondition;
    postcondition = newPostcondition;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GeneratedPackage.TCG_TRANSITION__POSTCONDITION, oldPostcondition, newPostcondition);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here


      if(in_oTransitionInstance.getTargetNode() instanceof TCGRealNode) {
        colNodes.add((TCGRealNode)in_oTransitionInstance.getTargetNode());
        colNodes.addAll(TCGNodeHelperClass.getSuperStates(in_oTransitionInstance.getTargetNode()));
       
        for(TCGRealNode oTargetNode : colNodes) {
          TCGDisjunctiveNormalForm oDNF = ((TCGRealNode)oTargetNode).getCondition();
          if((oDNF != null) && (oDNF.getConjunctions().size() > 0))
          {
            boolean bMoreThanOneConjunction = (oDNF.getConjunctions().size() > 1);
            in_oFormattedOutput.append(in_sConditionPrefix);
           
            for(int nConjunctionCounter = 0;
              nConjunctionCounter < oDNF.getConjunctions().size();
              ++nConjunctionCounter)
            {
              TCGConjunction oConjunction = oDNF.getConjunctions().get(nConjunctionCounter);
              if(nConjunctionCounter != 0)
                in_oFormattedOutput.append(" || ");
              if(bMoreThanOneConjunction == true)
                in_oFormattedOutput.append("(");
             
View Full Code Here

TOP

Related Classes of net.sf.parteg.base.testcasegraph.generated.TCGDisjunctiveNormalForm

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.