Get Icon Data of Extend Activity.
[sdc/sdc-workflow-designer.git] / sdc-workflow-designer-server / src / main / java / org / onap / sdc / workflowdesigner / resources / entity / Content.java
1 /**\r
2  * Copyright (c) 2018 ZTE Corporation.\r
3  * All rights reserved. This program and the accompanying materials\r
4  * are made available under the Apache License, Version 2.0\r
5  * and the Eclipse Public License v1.0 which both accompany this distribution,\r
6  * and are available at http://www.eclipse.org/legal/epl-v10.html\r
7  * and http://www.apache.org/licenses/LICENSE-2.0\r
8  *\r
9  * Contributors:\r
10  *     ZTE - initial API and implementation and/or initial documentation\r
11  */\r
12 package org.onap.sdc.workflowdesigner.resources.entity;\r
13 \r
14 import java.util.Map;\r
15 \r
16 import com.google.gson.annotations.SerializedName;\r
17 \r
18 /**\r
19  *\r
20  */\r
21 public class Content {\r
22   @SerializedName("class")\r
23   private String clazz;\r
24   \r
25   private String script;\r
26   \r
27   private String scriptFormat;\r
28   \r
29   private Map<String, InputOutput> inputs;\r
30   \r
31   private Map<String, InputOutput> outputs;\r
32 \r
33   /**\r
34    * @return the clazz\r
35    */\r
36   public String getClazz() {\r
37     return clazz;\r
38   }\r
39 \r
40   /**\r
41    * @param clazz the clazz to set\r
42    */\r
43   public void setClass(String clazz) {\r
44     this.clazz = clazz;\r
45   }\r
46 \r
47   /**\r
48    * @return the script\r
49    */\r
50   public String getScript() {\r
51     return script;\r
52   }\r
53 \r
54   /**\r
55    * @param script the script to set\r
56    */\r
57   public void setScript(String script) {\r
58     this.script = script;\r
59   }\r
60 \r
61   /**\r
62    * @return the scriptFormat\r
63    */\r
64   public String getScriptFormat() {\r
65     return scriptFormat;\r
66   }\r
67 \r
68   /**\r
69    * @param scriptFormat the scriptFormat to set\r
70    */\r
71   public void setScriptFormat(String scriptFormat) {\r
72     this.scriptFormat = scriptFormat;\r
73   }\r
74 \r
75   /**\r
76    * @return the inputs\r
77    */\r
78   public Map<String, InputOutput> getInputs() {\r
79     return inputs;\r
80   }\r
81 \r
82   /**\r
83    * @param inputs the inputs to set\r
84    */\r
85   public void setInputs(Map<String, InputOutput> inputs) {\r
86     this.inputs = inputs;\r
87   }\r
88 \r
89   /**\r
90    * @return the outputs\r
91    */\r
92   public Map<String, InputOutput> getOutputs() {\r
93     return outputs;\r
94   }\r
95 \r
96   /**\r
97    * @param outputs the outputs to set\r
98    */\r
99   public void setOutputs(Map<String, InputOutput> outputs) {\r
100     this.outputs = outputs;\r
101   }\r
102 \r
103 }\r