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