35a1a36ec440d7124329350bbc2b3de766d13795
[sdc/sdc-workflow-designer.git] /
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.externalservice.sdc.entity;\r
13 \r
14 /**\r
15  *\r
16  */\r
17 public class ActivitySpec {\r
18   private String id;\r
19   \r
20   private String versionId;\r
21   \r
22   private String name;\r
23   \r
24   private String description;\r
25   \r
26   private String type;\r
27   \r
28   private ActivityContent content = new ActivityContent();\r
29   \r
30   private String[] categoryList;\r
31 \r
32   private Parameter[] inputs;\r
33   \r
34   private Parameter[] outputs;\r
35 \r
36   private String status;\r
37 \r
38   /**\r
39    * @return the id\r
40    */\r
41   public String getId() {\r
42     return id;\r
43   }\r
44 \r
45   /**\r
46    * @param id the id to set\r
47    */\r
48   public void setId(String id) {\r
49     this.id = id;\r
50   }\r
51 \r
52   /**\r
53    * @return the versionId\r
54    */\r
55   public String getVersionId() {\r
56     return versionId;\r
57   }\r
58 \r
59   /**\r
60    * @param versionId the versionId to set\r
61    */\r
62   public void setVersionId(String versionId) {\r
63     this.versionId = versionId;\r
64   }\r
65 \r
66   /**\r
67    * @return the name\r
68    */\r
69   public String getName() {\r
70     return name;\r
71   }\r
72 \r
73   /**\r
74    * @param name the name to set\r
75    */\r
76   public void setName(String name) {\r
77     this.name = name;\r
78   }\r
79 \r
80   /**\r
81    * @return the description\r
82    */\r
83   public String getDescription() {\r
84     return description;\r
85   }\r
86 \r
87   /**\r
88    * @param description the description to set\r
89    */\r
90   public void setDescription(String description) {\r
91     this.description = description;\r
92   }\r
93 \r
94   /**\r
95    * @return the type\r
96    */\r
97   public String getType() {\r
98     return type;\r
99   }\r
100 \r
101   /**\r
102    * @param type the type to set\r
103    */\r
104   public void setType(String type) {\r
105     this.type = type;\r
106   }\r
107 \r
108   /**\r
109    * @return the content\r
110    */\r
111   public ActivityContent getContent() {\r
112     return content;\r
113   }\r
114 \r
115   /**\r
116    * @param content the content to set\r
117    */\r
118   public void setContent(ActivityContent content) {\r
119     this.content = content;\r
120   }\r
121 \r
122   /**\r
123    * @return the categoryList\r
124    */\r
125   public String[] getCategoryList() {\r
126     return categoryList;\r
127   }\r
128 \r
129   /**\r
130    * @param categoryList the categoryList to set\r
131    */\r
132   public void setCategoryList(String[] categoryList) {\r
133     this.categoryList = categoryList;\r
134   }\r
135 \r
136   /**\r
137    * @return the inputs\r
138    */\r
139   public Parameter[] getInputs() {\r
140     return inputs;\r
141   }\r
142 \r
143   /**\r
144    * @param inputs the inputs to set\r
145    */\r
146   public void setInputs(Parameter[] inputs) {\r
147     this.inputs = inputs;\r
148   }\r
149 \r
150   /**\r
151    * @return the outputs\r
152    */\r
153   public Parameter[] getOutputs() {\r
154     return outputs;\r
155   }\r
156 \r
157   /**\r
158    * @param outputs the outputs to set\r
159    */\r
160   public void setOutputs(Parameter[] outputs) {\r
161     this.outputs = outputs;\r
162   }\r
163 \r
164   /**\r
165    * @return the status\r
166    */\r
167   public String getStatus() {\r
168     return status;\r
169   }\r
170 \r
171   /**\r
172    * @param status the status to set\r
173    */\r
174   public void setStatus(String status) {\r
175     this.status = status;\r
176   }\r
177   \r
178   \r
179 }\r