1d5c34a7858b54747085c586d0ba99f071f57cf7
[sdc/sdc-workflow-designer.git] /
1 /**
2  * Copyright (c) 2018 ZTE Corporation.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the Apache License, Version 2.0
5  * and the Eclipse Public License v1.0 which both accompany this distribution,
6  * and are available at http://www.eclipse.org/legal/epl-v10.html
7  * and http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Contributors:
10  *     ZTE - initial API and implementation and/or initial documentation
11  */
12 package org.onap.sdc.workflowdesigner.resources.entity;
13
14 import com.google.gson.annotations.SerializedName;
15
16 /**
17  *
18  */
19 public class InputOutput {
20   private String type;
21   
22   @SerializedName("default")
23   private String defaultValue;
24   
25   private boolean required;
26   
27   private I18nString displayName;
28   
29   private boolean show = true;
30   
31   private boolean editable = true;
32   
33   private String value;
34   
35
36   /**
37    * @return the type
38    */
39   public String getType() {
40     return type;
41   }
42
43   /**
44    * @param type the type to set
45    */
46   public void setType(String type) {
47     this.type = type;
48   }
49
50   /**
51    * @return the defaultValue
52    */
53   public String getDefault() {
54     return defaultValue;
55   }
56
57   /**
58    * @param defaultValue the defaultValue to set
59    */
60   public void setDefault(String defaultValue) {
61     this.defaultValue = defaultValue;
62   }
63
64   /**
65    * @return the required
66    */
67   public boolean isRequired() {
68     return required;
69   }
70
71   /**
72    * @param required the required to set
73    */
74   public void setRequired(boolean required) {
75     this.required = required;
76   }
77
78   /**
79    * @return the displayName
80    */
81   public I18nString getDisplayName() {
82     return displayName;
83   }
84
85   /**
86    * @param displayName the displayName to set
87    */
88   public void setDisplayName(I18nString displayName) {
89     this.displayName = displayName;
90   }
91
92   /**
93    * @return the show
94    */
95   public boolean isShow() {
96     return show;
97   }
98
99   /**
100    * @param show the show to set
101    */
102   public void setShow(boolean show) {
103     this.show = show;
104   }
105
106   /**
107    * @return the editable
108    */
109   public boolean isEditable() {
110     return editable;
111   }
112
113   /**
114    * @param editable the editable to set
115    */
116   public void setEditable(boolean editable) {
117     this.editable = editable;
118   }
119
120   /**
121    * @return the value
122    */
123   public String getValue() {
124     return value;
125   }
126
127   /**
128    * @param value the value to set
129    */
130   public void setValue(String value) {
131     this.value = value;
132   }
133
134
135 }