Package org.eclipse.bpel.model

Examples of org.eclipse.bpel.model.Variables


   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetVariables(Variables newVariables, NotificationChain msgs) {
    Variables oldVariables = variables;
    variables = newVariables;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BPELPackage.PROCESS__VARIABLES, oldVariables, newVariables);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here


        if (result == null) result = caseWSDLElement(partnerLinks);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case BPELPackage.VARIABLES: {
        Variables variables = (Variables)theEObject;
        Object result = caseVariables(variables);
        if (result == null) result = caseExtensibleElement(variables);
        if (result == null) result = caseExtensibleElement_1(variables);
        if (result == null) result = caseWSDLElement(variables);
        if (result == null) result = defaultCase(theEObject);
View Full Code Here

        process.setTargetNamespace(packageBpelNamespaceMap.get(ctClass.getPackage()));
       
        PartnerLinks partnerLinks = BPELFactory.eINSTANCE.createPartnerLinks();
        process.setPartnerLinks(partnerLinks);       
       
        Variables variables = BPELFactory.eINSTANCE.createVariables();
        process.setVariables(variables);

        classProcessMap.put(ctClass, process);
        classProcessLinksMap.put(ctClass, new HashSet<PartnerLink>());
        processWsdlDeps.put(process, new HashSet<Definition>());
View Full Code Here

        Variable variable = ((ForEach)container).getCounterName();
        if (variable != null && variable.getName().equals(variableName)) {
          return variable;
        }
      } else {
        Variables variables = null;
        if (container instanceof Process)
          variables = ((Process)container).getVariables();       
        else if (container instanceof Scope)
          variables = ((Scope)container).getVariables();
       
        if (variables != null) {
         
          List<Object> list = new ArrayList<Object>();
         
          // check all BPEL variables if anyone has the correct variable name
         
          list.addAll(variables.getChildren());
          list.addAll(variables.getExtensibilityElements());
         
          for (Object n : list) {
            if (n instanceof Variable) {           
              Variable variable = (Variable) n;
              String name = variable.getName();
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetVariables(Variables newVariables, NotificationChain msgs) {
    Variables oldVariables = variables;
    variables = newVariables;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BPELPackage.SCOPE__VARIABLES, oldVariables, newVariables);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

TOP

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

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.