Package org.activiti.engine.impl.bpmn.data

Examples of org.activiti.engine.impl.bpmn.data.Assignment


      for (org.activiti.bpmn.model.Assignment assigmentElement : dataAssociationElement.getAssignments()) {
        if (StringUtils.isNotEmpty(assigmentElement.getFrom()) && StringUtils.isNotEmpty(assigmentElement.getTo())) {
          Expression from = bpmnParse.getExpressionManager().createExpression(assigmentElement.getFrom());
          Expression to = bpmnParse.getExpressionManager().createExpression(assigmentElement.getTo());
          Assignment assignment = new Assignment(from, to);
          dataAssociation.addAssignment(assignment);
        }
      }
      return dataAssociation;
    }
View Full Code Here


      for (Element assigmentElement : dataAssociationElement.elements("assignment")) {
        if (assigmentElement.element("from") != null && assigmentElement.element("to") != null) {
          Expression from = this.expressionManager.createExpression(assigmentElement.element("from").getText());
          Expression to = this.expressionManager.createExpression(assigmentElement.element("to").getText());
          Assignment assignment = new Assignment(from, to);
          dataAssociation.addAssignment(assignment);
        }
      }

      return dataAssociation;
View Full Code Here

TOP

Related Classes of org.activiti.engine.impl.bpmn.data.Assignment

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.