Package org.eclipse.bpel.model

Examples of org.eclipse.bpel.model.CorrelationSets


   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetCorrelationSets(CorrelationSets newCorrelationSets, NotificationChain msgs) {
    CorrelationSets oldCorrelationSets = correlationSets;
    correlationSets = newCorrelationSets;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BPELPackage.PROCESS__CORRELATION_SETS, oldCorrelationSets, newCorrelationSets);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here


 
  public static CorrelationSet getCorrelationSetForActivity(Correlation correlation, String correlationSetName) {
    EObject container = correlation.eContainer();
   
    while (container != null) {
      CorrelationSets correlationSets = null;
      if (container instanceof Process)
        correlationSets = ((Process)container).getCorrelationSets();
      else if (container instanceof Scope)
        correlationSets = ((Scope)container).getCorrelationSets();
      else if (container instanceof OnEvent)
        correlationSets = ((OnEvent)container).getCorrelationSets();
     
      if (correlationSets != null) {
        for (Iterator<?> it = correlationSets.getChildren().iterator(); it.hasNext(); ) {
          CorrelationSet correlationSet = (CorrelationSet)it.next();
          if (correlationSet.getName().equals(correlationSetName))
            return correlationSet;
        }
      }
View Full Code Here

        if (result == null) result = caseWSDLElement(variables);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case BPELPackage.CORRELATION_SETS: {
        CorrelationSets correlationSets = (CorrelationSets)theEObject;
        Object result = caseCorrelationSets(correlationSets);
        if (result == null) result = caseExtensibleElement(correlationSets);
        if (result == null) result = caseExtensibleElement_1(correlationSets);
        if (result == null) result = caseWSDLElement(correlationSets);
        if (result == null) result = defaultCase(theEObject);
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetCorrelationSets(CorrelationSets newCorrelationSets, NotificationChain msgs) {
    CorrelationSets oldCorrelationSets = correlationSets;
    correlationSets = newCorrelationSets;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BPELPackage.ON_EVENT__CORRELATION_SETS, oldCorrelationSets, newCorrelationSets);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetCorrelationSets(CorrelationSets newCorrelationSets, NotificationChain msgs) {
    CorrelationSets oldCorrelationSets = correlationSets;
    correlationSets = newCorrelationSets;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BPELPackage.SCOPE__CORRELATION_SETS, oldCorrelationSets, newCorrelationSets);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

TOP

Related Classes of org.eclipse.bpel.model.CorrelationSets

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.