diff --git a/de.fhmuenster.masterthesis.textgeneratordsl/src/de/fhmuenster/masterthesis/serialization/TestgeneratorDSLObjectCreator.java b/de.fhmuenster.masterthesis.textgeneratordsl/src/de/fhmuenster/masterthesis/serialization/TestgeneratorDSLObjectCreator.java index 7afcad63d96f741dddb755cece7e421b2ce9b31d..8dd4fefdaa97eb8fce29bd9c192e647ed1407f50 100644 --- a/de.fhmuenster.masterthesis.textgeneratordsl/src/de/fhmuenster/masterthesis/serialization/TestgeneratorDSLObjectCreator.java +++ b/de.fhmuenster.masterthesis.textgeneratordsl/src/de/fhmuenster/masterthesis/serialization/TestgeneratorDSLObjectCreator.java @@ -33,6 +33,7 @@ import de.fhmuenster.masterthesis.testgeneratorDSL.FlowElement; import de.fhmuenster.masterthesis.testgeneratorDSL.FlowElementReference; import de.fhmuenster.masterthesis.testgeneratorDSL.FlowReference; import de.fhmuenster.masterthesis.testgeneratorDSL.GatewayFlowElement; +import de.fhmuenster.masterthesis.testgeneratorDSL.GatewayType; import de.fhmuenster.masterthesis.testgeneratorDSL.IntCompare; import de.fhmuenster.masterthesis.testgeneratorDSL.IntCompareSymbol; import de.fhmuenster.masterthesis.testgeneratorDSL.IntVariable; @@ -268,9 +269,10 @@ public class TestgeneratorDSLObjectCreator { return element; } - public static GatewayFlowElement createGatewayFlowElement(String name) { + public static GatewayFlowElement createGatewayFlowElement(String name, GatewayType gatewayType) { GatewayFlowElement element = TestgeneratorDSLFactory.eINSTANCE.createGatewayFlowElement(); element.setName(name); + element.setType(gatewayType); return element; }