5a798ee23b516b6bf2d13f778519bf7f2bcd3b91
[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.resources.entity;\r
13 \r
14 import com.fasterxml.jackson.annotation.JsonInclude;\r
15 import com.fasterxml.jackson.annotation.JsonInclude.Include;\r
16 \r
17 /**\r
18  *\r
19  */\r
20 @JsonInclude(Include.NON_NULL)\r
21 public class ExtActivity {\r
22   private String id;\r
23   \r
24   private I18nString displayName;\r
25   \r
26   private I18nString description;\r
27   \r
28   private String type;\r
29   \r
30   private IconData icon;\r
31   \r
32   private Content content;\r
33 \r
34   /**\r
35    * @return the id\r
36    */\r
37   public String getId() {\r
38     return id;\r
39   }\r
40 \r
41   /**\r
42    * @param id the id to set\r
43    */\r
44   public void setId(String id) {\r
45     this.id = id;\r
46   }\r
47 \r
48   /**\r
49    * @return the type\r
50    */\r
51   public String getType() {\r
52     return type;\r
53   }\r
54 \r
55   /**\r
56    * @param type the type to set\r
57    */\r
58   public void setType(String type) {\r
59     this.type = type;\r
60   }\r
61 \r
62   /**\r
63    * @return the icon\r
64    */\r
65   public IconData getIcon() {\r
66     return icon;\r
67   }\r
68 \r
69   /**\r
70    * @param icon the icon to set\r
71    */\r
72   public void setIcon(IconData icon) {\r
73     this.icon = icon;\r
74   }\r
75 \r
76   /**\r
77    * @return the content\r
78    */\r
79   public Content getContent() {\r
80     return content;\r
81   }\r
82 \r
83   /**\r
84    * @param content the content to set\r
85    */\r
86   public void setContent(Content content) {\r
87     this.content = content;\r
88   }\r
89 \r
90   /**\r
91    * @return the displayName\r
92    */\r
93   public I18nString getDisplayName() {\r
94     return displayName;\r
95   }\r
96 \r
97   /**\r
98    * @param displayName the displayName to set\r
99    */\r
100   public void setDisplayName(I18nString displayName) {\r
101     this.displayName = displayName;\r
102   }\r
103 \r
104   /**\r
105    * @return the description\r
106    */\r
107   public I18nString getDescription() {\r
108     return description;\r
109   }\r
110 \r
111   /**\r
112    * @param description the description to set\r
113    */\r
114   public void setDescription(I18nString description) {\r
115     this.description = description;\r
116   }\r
117   \r
118   \r
119 \r
120 }\r