Remove ECOMP in headers
[clamp.git] / src / test / java / org / onap / clamp / clds / model / prop / CustomModelElement.java
index d0ba745..7d3a215 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
  * limitations under the License.\r
  * ============LICENSE_END============================================\r
  * ===================================================================\r
- * ECOMP is a trademark and service mark of AT&T Intellectual Property.\r
+ * \r
  */\r
 \r
 package org.onap.clamp.clds.model.prop;\r
 \r
 import com.fasterxml.jackson.databind.JsonNode;\r
 \r
+import org.onap.clamp.clds.model.properties.AbstractModelElement;\r
+import org.onap.clamp.clds.model.properties.ModelBpmn;\r
+import org.onap.clamp.clds.model.properties.ModelProperties;\r
+\r
 /**\r
  * A CustomModelElement to test the capability to add new elements on the fly.\r
  */\r
-public class CustomModelElement extends ModelElement {\r
+public class CustomModelElement extends AbstractModelElement {\r
 \r
+    private String test;\r
     private static final String CUSTOM_TYPE = "customType";\r
 \r
     /**\r
-     * \r
+     * Main Constructor.\r
      */\r
     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