Package com.founder.fix.bpmn2extensions.fixflow

Examples of com.founder.fix.bpmn2extensions.fixflow.TaskPriority


   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetTaskPriority(TaskPriority newTaskPriority, NotificationChain msgs) {
    TaskPriority oldTaskPriority = taskPriority;
    taskPriority = newTaskPriority;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FixFlowPackage.DOCUMENT_ROOT__TASK_PRIORITY, oldTaskPriority, newTaskPriority);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here


  public String getTaskPriority() {

    if (this.taskPriority == null) {
     
     
      TaskPriority taskPriorityObj  =EMFUtil.getExtensionElementOne(TaskPriority.class,this,FixFlowPackage.Literals.DOCUMENT_ROOT__TASK_PRIORITY);
     
      if (taskPriorityObj!=null&&taskPriorityObj.getExpression() != null) {
        this.taskPriority =taskPriorityObj.getExpression().getValue();
      }
    }
    return taskPriority;

  }
View Full Code Here

      }
     
      //任务优先级
      JsonNode taskPriorityNode = getProperty(PROPERTY_PRIORITY, elementNode);
      if(taskPriorityNode != null){
        TaskPriority taskPriority = FixFlowFactory.eINSTANCE.createTaskPriority();
        Expression taskPriorityExpression = FixFlowFactory.eINSTANCE.createExpression();
        taskPriorityExpression.setName(taskPriorityNode.asText());
        taskPriorityExpression.setValue(taskPriorityNode.asText());
        taskPriority.setExpression(taskPriorityExpression);
        BpmnModelUtil.addExtensionElement(task, FixFlowPackage.Literals.DOCUMENT_ROOT__TASK_PRIORITY, taskPriority);
      }
     
      //任务命令
      JsonNode taskCommandNode = getProperty(PROPERTY_TASKCOMMAND, elementNode);
View Full Code Here

TOP

Related Classes of com.founder.fix.bpmn2extensions.fixflow.TaskPriority

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.