@Test public void testGetEmptyDataInput() { DataInput item = mockDataInput(ITEM_ID, null); when(miloop.getInputDataItem()).thenReturn(item); assertEquals(ITEM_ID + DELIMITER + DATA_TYPE, reader.getDataInput()); }
public String getDataInput() { return getMultiInstanceLoopCharacteristics() .map(MultiInstanceLoopCharacteristics::getInputDataItem) .map(MultipleInstanceActivityPropertyReader::createInputVariable) .orElse(""); }
MultipleInstanceActivityPropertyReader extends ActivityPropertyReader { public String getDataInput() { return getMultiInstanceLoopCharacteristics() .map(MultiInstanceLoopCharacteristics::getInputDataItem) .map(MultipleInstanceActivityPropertyReader::createInputVariable) .orElse(""); } }
MultipleInstanceActivityPropertyReader extends ActivityPropertyReader { public String getDataInput() { return getMultiInstanceLoopCharacteristics() .map(MultiInstanceLoopCharacteristics::getInputDataItem) .map(MultipleInstanceActivityPropertyReader::createInputVariable) .orElse(""); } MultipleInstanceActivityPropertyReader(Activity activity, BPMNDiagram diagram, DefinitionResolver definitionResolver); }
MultipleInstanceActivityPropertyReader extends ActivityPropertyReader { public String getDataInput() { return getMultiInstanceLoopCharacteristics() .map(MultiInstanceLoopCharacteristics::getInputDataItem) .map(MultipleInstanceActivityPropertyReader::createInputVariable) .orElse(""); } MultipleInstanceActivityPropertyReader(Activity activity, BPMNDiagram diagram, DefinitionResolver definitionResolver); boolean isMultipleInstance(); String getCollectionInput(); String getCollectionOutput(); String getDataInput(); String getDataOutput(); String getCompletionCondition(); boolean isSequential(); }
MultipleInstanceActivityPropertyReader extends ActivityPropertyReader { public String getDataInput() { return getMultiInstanceLoopCharacteristics() .map(MultiInstanceLoopCharacteristics::getInputDataItem) .map(MultipleInstanceActivityPropertyReader::createInputVariable) .orElse(""); } MultipleInstanceActivityPropertyReader(Activity activity, BPMNDiagram diagram, DefinitionResolver definitionResolver); boolean isMultipleInstance(); String getCollectionInput(); String getCollectionOutput(); String getDataInput(); String getDataOutput(); String getCompletionCondition(); boolean isSequential();  }