047362256100be30b3f4a5a0c73b7610fa1a448a
[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.google.gson.annotations.SerializedName;\r
15 \r
16 /**\r
17  *\r
18  */\r
19 public class InputOutput {\r
20   private String type;\r
21   \r
22   @SerializedName("default")\r
23   private String defaultValue;\r
24   \r
25   private boolean required;\r
26   \r
27   private I18nString displayName;\r
28   \r
29   private boolean show = true;\r
30   \r
31   private boolean editable = true;\r
32   \r
33   private String value;\r
34   \r
35 \r
36   /**\r
37    * @return the type\r
38    */\r
39   public String getType() {\r
40     return type;\r
41   }\r
42 \r
43   /**\r
44    * @param type the type to set\r
45    */\r
46   public void setType(String type) {\r
47     this.type = type;\r
48   }\r
49 \r
50   /**\r
51    * @return the defaultValue\r
52    */\r
53   public String getDefaultValue() {\r
54     return defaultValue;\r
55   }\r
56 \r
57   /**\r
58    * @param defaultValue the defaultValue to set\r
59    */\r
60   public void setDefaultValue(String defaultValue) {\r
61     this.defaultValue = defaultValue;\r
62   }\r
63 \r
64   /**\r
65    * @return the required\r
66    */\r
67   public boolean isRequired() {\r
68     return required;\r
69   }\r
70 \r
71   /**\r
72    * @param required the required to set\r
73    */\r
74   public void setRequired(boolean required) {\r
75     this.required = required;\r
76   }\r
77 \r
78   /**\r
79    * @return the displayName\r
80    */\r
81   public I18nString getDisplayName() {\r
82     return displayName;\r
83   }\r
84 \r
85   /**\r
86    * @param displayName the displayName to set\r
87    */\r
88   public void setDisplayName(I18nString displayName) {\r
89     this.displayName = displayName;\r
90   }\r
91 \r
92   /**\r
93    * @return the show\r
94    */\r
95   public boolean isShow() {\r
96     return show;\r
97   }\r
98 \r
99   /**\r
100    * @param show the show to set\r
101    */\r
102   public void setShow(boolean show) {\r
103     this.show = show;\r
104   }\r
105 \r
106   /**\r
107    * @return the editable\r
108    */\r
109   public boolean isEditable() {\r
110     return editable;\r
111   }\r
112 \r
113   /**\r
114    * @param editable the editable to set\r
115    */\r
116   public void setEditable(boolean editable) {\r
117     this.editable = editable;\r
118   }\r
119 \r
120   /**\r
121    * @return the value\r
122    */\r
123   public String getValue() {\r
124     return value;\r
125   }\r
126 \r
127   /**\r
128    * @param value the value to set\r
129    */\r
130   public void setValue(String value) {\r
131     this.value = value;\r
132   }\r
133 \r
134 \r
135 }\r