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
10 * ZTE - initial API and implementation and/or initial documentation
\r
12 package org.onap.sdc.workflowdesigner.resources.entity;
\r
14 import com.google.gson.annotations.SerializedName;
\r
19 public class InputOutput {
\r
20 private String type;
\r
22 @SerializedName("default")
\r
23 private String defaultValue;
\r
25 private boolean required;
\r
27 private I18nString displayName;
\r
29 private boolean show = true;
\r
31 private boolean editable = true;
\r
33 private String value;
\r
39 public String getType() {
\r
44 * @param type the type to set
\r
46 public void setType(String type) {
\r
51 * @return the defaultValue
\r
53 public String getDefault() {
\r
54 return defaultValue;
\r
58 * @param defaultValue the defaultValue to set
\r
60 public void setDefault(String defaultValue) {
\r
61 this.defaultValue = defaultValue;
\r
65 * @return the required
\r
67 public boolean isRequired() {
\r
72 * @param required the required to set
\r
74 public void setRequired(boolean required) {
\r
75 this.required = required;
\r
79 * @return the displayName
\r
81 public I18nString getDisplayName() {
\r
86 * @param displayName the displayName to set
\r
88 public void setDisplayName(I18nString displayName) {
\r
89 this.displayName = displayName;
\r
95 public boolean isShow() {
\r
100 * @param show the show to set
\r
102 public void setShow(boolean show) {
\r
107 * @return the editable
\r
109 public boolean isEditable() {
\r
114 * @param editable the editable to set
\r
116 public void setEditable(boolean editable) {
\r
117 this.editable = editable;
\r
121 * @return the value
\r
123 public String getValue() {
\r
128 * @param value the value to set
\r
130 public void setValue(String value) {
\r
131 this.value = value;
\r