Remove Camunda and replace by Camel
[clamp.git] / src / test / java / org / onap / clamp / clds / model / prop / CustomModelElement.java
index 03d7d65..138d727 100644 (file)
@@ -2,7 +2,7 @@
  * ============LICENSE_START=======================================================\r
  * ONAP CLAMP\r
  * ================================================================================\r
- * Copyright (C) 2017 AT&T Intellectual Property. All rights\r
+ * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights\r
  *                             reserved.\r
  * ================================================================================\r
  * Licensed under the Apache License, Version 2.0 (the "License");\r
@@ -30,6 +30,7 @@ import com.fasterxml.jackson.databind.JsonNode;
  */\r
 public class CustomModelElement extends AbstractModelElement {\r
 \r
+    private String test;\r
     private static final String CUSTOM_TYPE = "customType";\r
 \r
     /**\r
@@ -38,10 +39,18 @@ public class CustomModelElement extends AbstractModelElement {
     public CustomModelElement(ModelProperties modelProp, ModelBpmn modelBpmn, JsonNode modelJson) {\r
         super(CUSTOM_TYPE, modelProp, modelBpmn, modelJson);\r
         topicPublishes = getValueByName("topicPublishes");\r
+        test = this.getValueByName("test");\r
     }\r
 \r
     public static final String getType() {\r
         return CUSTOM_TYPE;\r
     }\r
 \r
+    public String getTest() {\r
+        return test;\r
+    }\r
+\r
+    public void setTest(String test) {\r
+        this.test = test;\r
+    }\r
 }\r