private OutputSet getOutputSet(InputOutputSpecification ioSpecification) { List<OutputSet> outputSets = ioSpecification.getOutputSets(); OutputSet outputSet; if (outputSets.isEmpty()) { outputSet = bpmn2.createOutputSet(); outputSets.add(outputSet); } else { outputSet = outputSets.get(0); } return outputSet; } }
private OutputSet getOutputSet() { OutputSet outputSet = event.getOutputSet(); if (outputSet == null) { outputSet = bpmn2.createOutputSet(); event.setOutputSet(outputSet); } return outputSet; }
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); OutputSet outset = Bpmn2Factory.eINSTANCE.createOutputSet(); for (String dataOutput : allDataOutputs) { if (dataOutput.trim().length() > 0) { } else { if (activity.getIoSpecification() != null) { activity.getIoSpecification().getOutputSets().add(Bpmn2Factory.eINSTANCE.createOutputSet());
if (properties.get("dataoutput") != null && !"".equals(properties.get("dataoutput"))) { String[] allDataOutputs = properties.get("dataoutput").split(",\\s*"); OutputSet outSet = Bpmn2Factory.eINSTANCE.createOutputSet(); for (String dataOutput : allDataOutputs) { if (dataOutput.trim().length() > 0) {
OutputSet outset = Bpmn2Factory.eINSTANCE.createOutputSet(); ios.getOutputSets().add(outset);
task.getIoSpecification().getDataOutputs().add(miCollectionOutputDI); if (task.getIoSpecification().getOutputSets() == null || task.getIoSpecification().getOutputSets().size() < 1) { OutputSet outset = Bpmn2Factory.eINSTANCE.createOutputSet(); task.getIoSpecification().getOutputSets().add(outset);
if (task.getIoSpecification() == null) { InputOutputSpecification iospec = Bpmn2Factory.eINSTANCE.createInputOutputSpecification(); OutputSet outSet = Bpmn2Factory.eINSTANCE.createOutputSet(); iospec.getOutputSets().add(outSet); task.setIoSpecification(iospec);
OutputSet outSet = Bpmn2Factory.eINSTANCE.createOutputSet(); task.getIoSpecification().getOutputSets().add(outSet); ce.getDataOutputs().add(dataout); if (ce.getOutputSet() == null) { OutputSet outset = Bpmn2Factory.eINSTANCE.createOutputSet(); ce.setOutputSet(outset); OutputSet outSet = Bpmn2Factory.eINSTANCE.createOutputSet(); sourceElement.getIoSpecification().getOutputSets().add(outSet);