Entity Class for Workflow 07/37307/1
authorYuanHu <yuan.hu1@zte.com.cn>
Wed, 21 Mar 2018 01:59:29 +0000 (09:59 +0800)
committerYuanHu <yuan.hu1@zte.com.cn>
Wed, 21 Mar 2018 01:59:29 +0000 (09:59 +0800)
Define entity class for workflow

Issue-ID: SDC-1004

Change-Id: I4d3b30951e6f0eef3e66651615c9dac238c22e92
Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/resources/entity/WorkflowInfo.java [new file with mode: 0644]

diff --git a/sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/resources/entity/WorkflowInfo.java b/sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/resources/entity/WorkflowInfo.java
new file mode 100644 (file)
index 0000000..4ed4e50
--- /dev/null
@@ -0,0 +1,133 @@
+/**\r
+ * Copyright (c) 2018 ZTE Corporation.\r
+ * All rights reserved. This program and the accompanying materials\r
+ * are made available under the Apache License, Version 2.0\r
+ * and the Eclipse Public License v1.0 which both accompany this distribution,\r
+ * and are available at http://www.eclipse.org/legal/epl-v10.html\r
+ * and http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * Contributors:\r
+ *     ZTE - initial API and implementation and/or initial documentation\r
+ */\r
+package org.onap.sdc.workflowdesigner.resources.entity;\r
+\r
+import com.google.gson.JsonObject;\r
+\r
+/**\r
+ *\r
+ */\r
+public class WorkflowInfo {\r
+  private String uuid;\r
+  \r
+  private String operationId;\r
+  \r
+  private String id;\r
+  \r
+  private String name;\r
+  \r
+  private String description;\r
+  \r
+  private String scene;\r
+  \r
+  private JsonObject data;\r
+\r
+  /**\r
+   * @return the uuid\r
+   */\r
+  public String getUuid() {\r
+    return uuid;\r
+  }\r
+\r
+  /**\r
+   * @param uuid the uuid to set\r
+   */\r
+  public void setUuid(String uuid) {\r
+    this.uuid = uuid;\r
+  }\r
+\r
+  /**\r
+   * @return the operationId\r
+   */\r
+  public String getOperationId() {\r
+    return operationId;\r
+  }\r
+\r
+  /**\r
+   * @param operationId the operationId to set\r
+   */\r
+  public void setOperationId(String operationId) {\r
+    this.operationId = operationId;\r
+  }\r
+\r
+  /**\r
+   * @return the id\r
+   */\r
+  public String getId() {\r
+    return id;\r
+  }\r
+\r
+  /**\r
+   * @param id the id to set\r
+   */\r
+  public void setId(String id) {\r
+    this.id = id;\r
+  }\r
+\r
+  /**\r
+   * @return the name\r
+   */\r
+  public String getName() {\r
+    return name;\r
+  }\r
+\r
+  /**\r
+   * @param name the name to set\r
+   */\r
+  public void setName(String name) {\r
+    this.name = name;\r
+  }\r
+\r
+  /**\r
+   * @return the description\r
+   */\r
+  public String getDescription() {\r
+    return description;\r
+  }\r
+\r
+  /**\r
+   * @param description the description to set\r
+   */\r
+  public void setDescription(String description) {\r
+    this.description = description;\r
+  }\r
+\r
+  /**\r
+   * @return the scene\r
+   */\r
+  public String getScene() {\r
+    return scene;\r
+  }\r
+\r
+  /**\r
+   * @param scene the scene to set\r
+   */\r
+  public void setScene(String scene) {\r
+    this.scene = scene;\r
+  }\r
+\r
+  /**\r
+   * @return the data\r
+   */\r
+  public JsonObject getData() {\r
+    return data;\r
+  }\r
+\r
+  /**\r
+   * @param data the data to set\r
+   */\r
+  public void setData(JsonObject data) {\r
+    this.data = data;\r
+  }\r
+\r
+  \r
+}\r