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============================================
36 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
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 String defaultValue;
52 private String fieldDefaultSQL;
53 private String fieldSQL;
54 private String validationType;
55 private List<IdNameBooleanJSON> predefinedValueList;
56 private String message;
57 private String errorMessage;
58 private String errorStackTrace;
61 public String getMessage() {
64 public void setMessage(String message) {
65 this.message = message;
67 public String getErrorMessage() {
70 public void setErrorMessage(String errorMessage) {
71 this.errorMessage = errorMessage;
73 public String getErrorStackTrace() {
74 return errorStackTrace;
76 public void setErrorStackTrace(String errorStackTrace) {
77 this.errorStackTrace = errorStackTrace;
79 public String getTabId() {
82 public void setTabId(String tabId) {
85 public String getTabName() {
88 public void setTabName(String tabName) {
89 this.tabName = tabName;
93 public String getFieldId() {
96 public void setFieldId(String fieldId) {
97 this.fieldId = fieldId;
99 public String getFieldName() {
102 public void setFieldName(String fieldName) {
103 this.fieldName = fieldName;
106 public String getFieldType() {
109 public void setFieldType(String fieldType) {
110 this.fieldType = fieldType;
112 public boolean isVisible() {
115 public void setVisible(boolean visible) {
116 this.visible = visible;
118 public String getDefaultValue() {
121 public void setDefaultValue(String defaultValue) {
122 this.defaultValue = defaultValue;
124 public String getFieldDefaultSQL() {
125 return fieldDefaultSQL;
127 public void setFieldDefaultSQL(String fieldDefaultSQL) {
128 this.fieldDefaultSQL = fieldDefaultSQL;
130 public String getValidationType() {
131 return validationType;
133 public void setValidationType(String validationType) {
134 this.validationType = validationType;
136 public List<IdNameBooleanJSON> getPredefinedValueList() {
137 return predefinedValueList;
139 public void setPredefinedValueList(List<IdNameBooleanJSON> predefinedValueList) {
140 this.predefinedValueList = predefinedValueList;
142 public String getFieldSQL() {
145 public void setFieldSQL(String fieldSQL) {
146 this.fieldSQL = fieldSQL;