From d57646e02bfb75dfd7697afb5cb18aceb78bc859 Mon Sep 17 00:00:00 2001
From: Florian Lambers <fl462057@fh-muenster.de>
Date: Wed, 15 Dec 2021 22:57:39 +0100
Subject: [PATCH] added gateway type

---
 .../serialization/TestgeneratorDSLObjectCreator.java          | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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 7afcad6..8dd4fef 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;
 	}
-- 
GitLab