private InputSet getInputSet(InputOutputSpecification ioSpecification) { List<InputSet> inputSets = ioSpecification.getInputSets(); InputSet inputSet; if (inputSets.isEmpty()) { inputSet = bpmn2.createInputSet(); inputSets.add(inputSet); } else { inputSet = inputSets.get(0); } return inputSet; }
private InputSet getInputSet() { InputSet inputSet = throwEvent.getInputSet(); if (inputSet == null) { inputSet = bpmn2.createInputSet(); throwEvent.setInputSet(inputSet); } return inputSet; }
private InputOutputSpecification getIoSpecification(Task element) { InputOutputSpecification ioSpecification = element.getIoSpecification(); if (ioSpecification == null) { ioSpecification = bpmn2.createInputOutputSpecification(); element.setIoSpecification(ioSpecification); } List<InputSet> inputSets = ioSpecification.getInputSets(); if (inputSets.isEmpty()) { inputSets.add(bpmn2.createInputSet()); } return ioSpecification; }
public MultipleInstanceSubProcessPropertyWriter(SubProcess process, VariableScope variableScope) { super(process, variableScope); this.miloop = bpmn2.createMultiInstanceLoopCharacteristics(); process.setLoopCharacteristics(miloop); this.ioSpec = bpmn2.createInputOutputSpecification(); this.inputSet = bpmn2.createInputSet(); this.ioSpec.getInputSets().add(inputSet); this.outputSet = bpmn2.createOutputSet(); this.ioSpec.getOutputSets().add(outputSet); process.setIoSpecification(ioSpec); }
activity.setIoSpecification(iospec); InputSet inset = Bpmn2Factory.eINSTANCE.createInputSet(); for (String dataInput : allDataInputs) { if (dataInput.trim().length() > 0) { } else { if (activity.getIoSpecification() != null) { activity.getIoSpecification().getInputSets().add(Bpmn2Factory.eINSTANCE.createInputSet());
if (properties.get("datainput") != null && properties.get("datainput").trim().length() > 0) { String[] allDataInputs = properties.get("datainput").split(",\\s*"); InputSet inset = Bpmn2Factory.eINSTANCE.createInputSet(); for (String dataInput : allDataInputs) { if (dataInput.trim().length() > 0) {
InputOutputSpecification ios = t.getIoSpecification(); if (ios.getInputSets() == null || ios.getInputSets().size() < 1) { InputSet inset = Bpmn2Factory.eINSTANCE.createInputSet(); ios.getInputSets().add(inset);
task.getIoSpecification().getDataInputs().add(miCollectionInputDI); if (task.getIoSpecification().getInputSets() == null || task.getIoSpecification().getInputSets().size() < 1) { InputSet inset = Bpmn2Factory.eINSTANCE.createInputSet(); task.getIoSpecification().getInputSets().add(inset);
foundInput = d; if (task.getIoSpecification().getInputSets() == null || task.getIoSpecification().getInputSets().size() < 1) { InputSet inset = Bpmn2Factory.eINSTANCE.createInputSet(); task.getIoSpecification().getInputSets().add(inset); foundInput = d; if (task.getIoSpecification().getInputSets() == null || task.getIoSpecification().getInputSets().size() < 1) { InputSet inset = Bpmn2Factory.eINSTANCE.createInputSet(); task.getIoSpecification().getInputSets().add(inset); foundInput = d; if (task.getIoSpecification().getInputSets() == null || task.getIoSpecification().getInputSets().size() < 1) { InputSet inset = Bpmn2Factory.eINSTANCE.createInputSet(); task.getIoSpecification().getInputSets().add(inset); foundInput = d; if (task.getIoSpecification().getInputSets() == null || task.getIoSpecification().getInputSets().size() < 1) { InputSet inset = Bpmn2Factory.eINSTANCE.createInputSet(); task.getIoSpecification().getInputSets().add(inset); foundInput = d; if (task.getIoSpecification().getInputSets() == null || task.getIoSpecification().getInputSets().size() < 1) { InputSet inset = Bpmn2Factory.eINSTANCE.createInputSet(); task.getIoSpecification().getInputSets().add(inset); foundInput = d; if (task.getIoSpecification().getInputSets() == null || task.getIoSpecification().getInputSets().size() < 1) { InputSet inset = Bpmn2Factory.eINSTANCE.createInputSet(); task.getIoSpecification().getInputSets().add(inset);
InputSet inset = Bpmn2Factory.eINSTANCE.createInputSet(); task.getIoSpecification().getInputSets().add(inset); te.getDataInputs().add(datain); if (te.getInputSet() == null) { InputSet inset = Bpmn2Factory.eINSTANCE.createInputSet(); te.setInputSet(inset); InputSet inset = Bpmn2Factory.eINSTANCE.createInputSet(); targetElement.getIoSpecification().getInputSets().add(inset);