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 lastUpdatedFieldId;
54 private String defaultValue;
55 private String fieldDefaultSQL;
56 private String fieldSQL;
57 private String validationType;
58 private List<IdNameBooleanJSON> predefinedValueList;
59 private String message;
60 private String errorMessage;
61 private String errorStackTrace;
62 private Integer orderSeq;
64 public String getMessage() {
67 public void setMessage(String message) {
68 this.message = message;
70 public String getErrorMessage() {
73 public void setErrorMessage(String errorMessage) {
74 this.errorMessage = errorMessage;
76 public String getErrorStackTrace() {
77 return errorStackTrace;
79 public void setErrorStackTrace(String errorStackTrace) {
80 this.errorStackTrace = errorStackTrace;
82 public String getTabId() {
85 public void setTabId(String tabId) {
88 public String getTabName() {
91 public void setTabName(String tabName) {
92 this.tabName = tabName;
96 public String getFieldId() {
99 public void setFieldId(String fieldId) {
100 this.fieldId = fieldId;
102 public String getFieldName() {
105 public void setFieldName(String fieldName) {
106 this.fieldName = fieldName;
109 public String getFieldType() {
112 public void setFieldType(String fieldType) {
113 this.fieldType = fieldType;
115 public boolean isVisible() {
118 public void setVisible(boolean visible) {
119 this.visible = visible;
121 public String getDefaultValue() {
124 public void setDefaultValue(String defaultValue) {
125 this.defaultValue = defaultValue;
127 public String getFieldDefaultSQL() {
128 return fieldDefaultSQL;
130 public void setFieldDefaultSQL(String fieldDefaultSQL) {
131 this.fieldDefaultSQL = fieldDefaultSQL;
133 public String getValidationType() {
134 return validationType;
136 public void setValidationType(String validationType) {
137 this.validationType = validationType;
139 public List<IdNameBooleanJSON> getPredefinedValueList() {
140 return predefinedValueList;
142 public void setPredefinedValueList(List<IdNameBooleanJSON> predefinedValueList) {
143 this.predefinedValueList = predefinedValueList;
145 public String getFieldSQL() {
148 public void setFieldSQL(String fieldSQL) {
149 this.fieldSQL = fieldSQL;
151 public boolean isGroupFormField() {
152 return groupFormField;
154 public void setGroupFormField(boolean groupFormField) {
155 this.groupFormField = groupFormField;
157 public Integer getOrderSeq() {
160 public void setOrderSeq(Integer orderSeq) {
161 this.orderSeq = orderSeq;
165 public String getLastUpdatedFieldId() {
166 return lastUpdatedFieldId;
168 public void setLastUpdatedFieldId(String lastUpdatedFieldId) {
169 this.lastUpdatedFieldId = lastUpdatedFieldId;