Examples of LoopCharacteristics


Examples of org.eclipse.bpmn2.LoopCharacteristics

            if (result == null)
                result = defaultCase(theEObject);
            return result;
        }
        case Bpmn2Package.LOOP_CHARACTERISTICS: {
            LoopCharacteristics loopCharacteristics = (LoopCharacteristics) theEObject;
            T result = caseLoopCharacteristics(loopCharacteristics);
            if (result == null)
                result = caseBaseElement(loopCharacteristics);
            if (result == null)
                result = defaultCase(theEObject);
View Full Code Here

Examples of org.eclipse.bpmn2.LoopCharacteristics

      if (flowElement instanceof UserTask) {
        UserTask userTask = (UserTask) flowElement;
        if (userTask.getResources().size() < 1) {
          sb.append(userTask.getId() + "节点没有设置任务分配;" + "");
        }
        LoopCharacteristics loopCharacteristics = userTask.getLoopCharacteristics();

        if (loopCharacteristics instanceof MultiInstanceLoopCharacteristics) {

          for (ExtensionAttributeValue extensionAttributeValue : userTask.getExtensionValues()) {
            FeatureMap extensionElements = extensionAttributeValue.getValue();
View Full Code Here

Examples of org.eclipse.bpmn2.LoopCharacteristics

          }
        } else {
          // 子流程多实例的时候 每个子流程结束的时候去触发验证完成条件
          if (getParent().getFlowNode() instanceof Activity) {
            Activity activity = (Activity) getParent().getFlowNode();
            LoopCharacteristics loopCharacteristics = activity.getLoopCharacteristics();
            if (loopCharacteristics instanceof MultiInstanceLoopCharacteristics) {
              if (this.isSubProcessRootToken) {
                if (!getParent().hasEnded()) {
                  getParent().signal();
                }
View Full Code Here

Examples of org.eclipse.bpmn2.LoopCharacteristics

   * <!-- begin-user-doc --> <!-- end-user-doc -->
   *
   * @generated
   */
  public NotificationChain basicSetLoopCharacteristics(LoopCharacteristics newLoopCharacteristics, NotificationChain msgs) {
    LoopCharacteristics oldLoopCharacteristics = loopCharacteristics;
    loopCharacteristics = newLoopCharacteristics;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Bpmn2Package.ACTIVITY__LOOP_CHARACTERISTICS,
          oldLoopCharacteristics, newLoopCharacteristics);
      if (msgs == null)
View Full Code Here

Examples of org.eclipse.bpmn2.LoopCharacteristics

    Activity activity = (Activity) this;
   
    TokenEntity token=executionContext.getToken();
   
    //获取 Activity 的多实例信息
    LoopCharacteristics loopCharacteristics = activity.getLoopCharacteristics();
   
    //判断事都是并行多实例
    if (loopCharacteristics instanceof MultiInstanceLoopCharacteristics) {
     
      // 并行多实例处理
View Full Code Here

Examples of org.eclipse.bpmn2.LoopCharacteristics

    //在离开节点的时候判断多实例
    if (this instanceof Activity && ((Activity) this).getLoopCharacteristics() != null) {
     
      Activity activity = (Activity) this;
     
      LoopCharacteristics loopCharacteristics = activity.getLoopCharacteristics();
     
      // 如果是并行多实例
      if (loopCharacteristics instanceof MultiInstanceLoopCharacteristics) {
        // 并行多实例处理
       
View Full Code Here

Examples of org.eclipse.bpmn2.LoopCharacteristics

  String convertPropertyToString(Activity activity) {
    return getLoopCharacteristicsValue(activity).getName();
  }

  public static LoopCharacteristicType getLoopCharacteristicsValue(Activity activity) {
    LoopCharacteristics loopCharacteristics = activity.getLoopCharacteristics();
    LoopCharacteristicType type = LoopCharacteristicType.NULL;

    if (loopCharacteristics != null) {
      if (loopCharacteristics instanceof MultiInstanceLoopCharacteristics) {
        MultiInstanceLoopCharacteristics multi = (MultiInstanceLoopCharacteristics) loopCharacteristics;
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.