2 * ================================================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ================================================================================
20 package org.openecomp.portalsdk.analytics.model.definition.wizard;
22 import java.util.List;
24 public class FormEditJSON implements WizardJSON {
27 private String tabName;
29 private String fieldId;
30 private String fieldName;
31 private String fieldType;
32 private boolean visible;
33 private String defaultValue;
34 private String fieldDefaultSQL;
35 private String fieldSQL;
36 private String validationType;
37 private List<IdNameBooleanJSON> predefinedValueList;
38 private String message;
39 private String errorMessage;
40 private String errorStackTrace;
43 public String getMessage() {
46 public void setMessage(String message) {
47 this.message = message;
49 public String getErrorMessage() {
52 public void setErrorMessage(String errorMessage) {
53 this.errorMessage = errorMessage;
55 public String getErrorStackTrace() {
56 return errorStackTrace;
58 public void setErrorStackTrace(String errorStackTrace) {
59 this.errorStackTrace = errorStackTrace;
61 public String getTabId() {
64 public void setTabId(String tabId) {
67 public String getTabName() {
70 public void setTabName(String tabName) {
71 this.tabName = tabName;
75 public String getFieldId() {
78 public void setFieldId(String fieldId) {
79 this.fieldId = fieldId;
81 public String getFieldName() {
84 public void setFieldName(String fieldName) {
85 this.fieldName = fieldName;
88 public String getFieldType() {
91 public void setFieldType(String fieldType) {
92 this.fieldType = fieldType;
94 public boolean isVisible() {
97 public void setVisible(boolean visible) {
98 this.visible = visible;
100 public String getDefaultValue() {
103 public void setDefaultValue(String defaultValue) {
104 this.defaultValue = defaultValue;
106 public String getFieldDefaultSQL() {
107 return fieldDefaultSQL;
109 public void setFieldDefaultSQL(String fieldDefaultSQL) {
110 this.fieldDefaultSQL = fieldDefaultSQL;
112 public String getValidationType() {
113 return validationType;
115 public void setValidationType(String validationType) {
116 this.validationType = validationType;
118 public List<IdNameBooleanJSON> getPredefinedValueList() {
119 return predefinedValueList;
121 public void setPredefinedValueList(List<IdNameBooleanJSON> predefinedValueList) {
122 this.predefinedValueList = predefinedValueList;
124 public String getFieldSQL() {
127 public void setFieldSQL(String fieldSQL) {
128 this.fieldSQL = fieldSQL;