2 * ============LICENSE_START==========================================
4 * ===================================================================
5 * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
6 * ===================================================================
8 * Unless otherwise specified, all software contained herein is licensed
9 * under the Apache License, Version 2.0 (the "License");
10 * you may not use this software except in compliance with the License.
11 * You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
21 * Unless otherwise specified, all documentation contained herein is licensed
22 * under the Creative Commons License, Attribution 4.0 Intl. (the "License");
23 * you may not use this documentation except in compliance with the License.
24 * You may obtain a copy of the License at
26 * https://creativecommons.org/licenses/by/4.0/
28 * Unless required by applicable law or agreed to in writing, documentation
29 * distributed under the License is distributed on an "AS IS" BASIS,
30 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
31 * See the License for the specific language governing permissions and
32 * limitations under the License.
34 * ============LICENSE_END============================================
38 package org.onap.portalsdk.analytics.model.definition.wizard;
40 import java.util.List;
42 public class FormEditJSON implements WizardJSON {
45 private String tabName;
47 private String fieldId;
48 private String fieldName;
49 private String fieldType;
50 private boolean visible;
51 private boolean groupFormField;
52 private String defaultValue;
53 private String fieldDefaultSQL;
54 private String fieldSQL;
55 private String validationType;
56 private List<IdNameBooleanJSON> predefinedValueList;
57 private String message;
58 private String errorMessage;
59 private String errorStackTrace;
60 private Integer orderSeq;
62 public String getMessage() {
65 public void setMessage(String message) {
66 this.message = message;
68 public String getErrorMessage() {
71 public void setErrorMessage(String errorMessage) {
72 this.errorMessage = errorMessage;
74 public String getErrorStackTrace() {
75 return errorStackTrace;
77 public void setErrorStackTrace(String errorStackTrace) {
78 this.errorStackTrace = errorStackTrace;
80 public String getTabId() {
83 public void setTabId(String tabId) {
86 public String getTabName() {
89 public void setTabName(String tabName) {
90 this.tabName = tabName;
94 public String getFieldId() {
97 public void setFieldId(String fieldId) {
98 this.fieldId = fieldId;
100 public String getFieldName() {
103 public void setFieldName(String fieldName) {
104 this.fieldName = fieldName;
107 public String getFieldType() {
110 public void setFieldType(String fieldType) {
111 this.fieldType = fieldType;
113 public boolean isVisible() {
116 public void setVisible(boolean visible) {
117 this.visible = visible;
119 public String getDefaultValue() {
122 public void setDefaultValue(String defaultValue) {
123 this.defaultValue = defaultValue;
125 public String getFieldDefaultSQL() {
126 return fieldDefaultSQL;
128 public void setFieldDefaultSQL(String fieldDefaultSQL) {
129 this.fieldDefaultSQL = fieldDefaultSQL;
131 public String getValidationType() {
132 return validationType;
134 public void setValidationType(String validationType) {
135 this.validationType = validationType;
137 public List<IdNameBooleanJSON> getPredefinedValueList() {
138 return predefinedValueList;
140 public void setPredefinedValueList(List<IdNameBooleanJSON> predefinedValueList) {
141 this.predefinedValueList = predefinedValueList;
143 public String getFieldSQL() {
146 public void setFieldSQL(String fieldSQL) {
147 this.fieldSQL = fieldSQL;
149 public boolean isGroupFormField() {
150 return groupFormField;
152 public void setGroupFormField(boolean groupFormField) {
153 this.groupFormField = groupFormField;
155 public Integer getOrderSeq() {
158 public void setOrderSeq(Integer orderSeq) {
159 this.orderSeq = orderSeq;