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 import org.onap.portalsdk.analytics.xmlobj.DashboardReports;
44 public class DefinitionJSON implements WizardJSON {
46 private String tabName;
49 private String reportId;
50 private String reportName;
51 private String reportDescr;
52 private String reportType;
53 private List<IdNameBooleanJSON> reportTypeList = null;
54 private String dbInfo;
55 private String formHelpText;
56 private Integer pageSize;
57 private List<IdNameBooleanJSON> dbInfoList = null;
58 private List<IdNameBooleanJSON> displayArea = null;
59 private Boolean hideFormFieldsAfterRun;
60 private Integer maxRowsInExcelCSVDownload;
61 private Integer frozenColumns;
62 private String dataGridAlign;
63 private String emptyMessage;
64 private String dataContainerHeight;
65 private String dataContainerWidth;
66 private List<NameBooleanJSON> displayOptions = null;
67 private Boolean runtimeColSortDisabled;
68 private Integer numFormCols;
69 private String reportTitle;
70 private String reportSubTitle;
71 private String oneTimeRec;
72 private String hourlyRec;
73 private String dailyRec;
74 private String dailyMFRec;
75 private String weeklyRec;
76 private String monthlyRec;
77 private String allowScheduler;
78 private String sizedByContent;
79 private String repDefType;
80 private String dashboardLayoutHTML;
81 private String dashboardLayoutJSON;
82 private DashboardReports dashboardReports;
85 public String getTabName() {
90 public void setTabName(String tabName) {
91 this.tabName = tabName;
95 public String getTabId() {
100 public void setTabId(String tabId) {
106 public String getReportId() {
110 public void setReportId(String reportId) {
111 this.reportId = reportId;
114 public String getReportName() {
118 public void setReportName(String reportName) {
119 this.reportName = reportName;
122 public String getReportDescr() {
126 public void setReportDescr(String reportDescr) {
127 this.reportDescr = reportDescr;
130 public String getReportType() {
134 public void setReportType(String reportType) {
135 this.reportType = reportType;
138 public void setReportTypeList(List<IdNameBooleanJSON> reportTypeList) {
139 this.reportTypeList = reportTypeList;
142 public List<IdNameBooleanJSON> getReportTypeList() {
143 return reportTypeList;
146 public String getDbInfo() {
150 public void setDbInfo(String dbInfo) {
151 this.dbInfo = dbInfo;
154 public String getFormHelpText() {
158 public void setFormHelpText(String formHelpText) {
159 this.formHelpText = formHelpText;
162 public Integer getPageSize() {
166 public void setPageSize(Integer pageSize) {
167 this.pageSize = pageSize;
170 public List<IdNameBooleanJSON> getDisplayArea() {
174 public void setDisplayArea(List<IdNameBooleanJSON> displayArea) {
175 this.displayArea = displayArea;
178 public Boolean getHideFormFieldsAfterRun() {
179 return hideFormFieldsAfterRun;
182 public void setHideFormFieldsAfterRun(Boolean hideFormFieldsAfterRun) {
183 this.hideFormFieldsAfterRun = hideFormFieldsAfterRun;
186 public Integer getMaxRowsInExcelCSVDownload() {
187 return maxRowsInExcelCSVDownload;
190 public void setMaxRowsInExcelCSVDownload(Integer maxRowsInExcelCSVDownload) {
191 this.maxRowsInExcelCSVDownload = maxRowsInExcelCSVDownload;
194 public Integer getFrozenColumns() {
195 return frozenColumns;
198 public void setFrozenColumns(Integer frozenColumns) {
199 this.frozenColumns = frozenColumns;
202 public String getDataGridAlign() {
203 return dataGridAlign;
206 public void setDataGridAlign(String dataGridAlign) {
207 this.dataGridAlign = dataGridAlign;
210 public String getEmptyMessage() {
214 public void setEmptyMessage(String emptyMessage) {
215 this.emptyMessage = emptyMessage;
218 public String getDataContainerHeight() {
219 return dataContainerHeight;
222 public void setDataContainerHeight(String dataContainerHeight) {
223 this.dataContainerHeight = dataContainerHeight;
226 public String getDataContainerWidth() {
227 return dataContainerWidth;
230 public void setDataContainerWidth(String dataContainerWidth) {
231 this.dataContainerWidth = dataContainerWidth;
234 public List<NameBooleanJSON> getDisplayOptions() {
235 return displayOptions;
238 public void setDisplayOptions(List<NameBooleanJSON> displayOptions) {
239 this.displayOptions = displayOptions;
242 public Boolean getRuntimeColSortDisabled() {
243 return runtimeColSortDisabled;
246 public void setRuntimeColSortDisabled(Boolean runtimeColSortDisabled) {
247 this.runtimeColSortDisabled = runtimeColSortDisabled;
250 public Integer getNumFormCols() {
254 public void setNumFormCols(Integer numFormCols) {
255 this.numFormCols = numFormCols;
258 public String getReportTitle() {
262 public void setReportTitle(String reportTitle) {
263 this.reportTitle = reportTitle;
266 public String getReportSubTitle() {
267 return reportSubTitle;
270 public void setReportSubTitle(String reportSubTitle) {
271 this.reportSubTitle = reportSubTitle;
274 public String getOneTimeRec() {
278 public void setOneTimeRec(String oneTimeRec) {
279 this.oneTimeRec = oneTimeRec;
282 public String getHourlyRec() {
286 public void setHourlyRec(String hourlyRec) {
287 this.hourlyRec = hourlyRec;
290 public String getDailyRec() {
294 public void setDailyRec(String dailyRec) {
295 this.dailyRec = dailyRec;
298 public String getDailyMFRec() {
302 public void setDailyMFRec(String dailyMFRec) {
303 this.dailyMFRec = dailyMFRec;
306 public String getWeeklyRec() {
310 public void setWeeklyRec(String weeklyRec) {
311 this.weeklyRec = weeklyRec;
314 public String getMonthlyRec() {
318 public void setMonthlyRec(String monthlyRec) {
319 this.monthlyRec = monthlyRec;
322 public String getAllowScheduler() {
323 return allowScheduler;
326 public void setAllowScheduler(String allowScheduler) {
327 this.allowScheduler = allowScheduler;
330 public String getSizedByContent() {
331 return sizedByContent;
334 public void setSizedByContent(String sizedByContent) {
335 this.sizedByContent = sizedByContent;
338 public String getRepDefType() {
342 public void setRepDefType(String repDefType) {
343 this.repDefType = repDefType;
346 public List<IdNameBooleanJSON> getDbInfoList() {
350 public void setDbInfoList(List<IdNameBooleanJSON> dbInfoList) {
351 this.dbInfoList = dbInfoList;
354 public String getDashboardLayoutHTML() {
355 return dashboardLayoutHTML;
358 public void setDashboardLayoutHTML(String dashboardLayoutHTML) {
359 this.dashboardLayoutHTML = dashboardLayoutHTML;
362 public String getDashboardLayoutJSON() {
363 return dashboardLayoutJSON;
366 public void setDashboardLayoutJSON(String dashboardLayoutJSON) {
367 this.dashboardLayoutJSON = dashboardLayoutJSON;
370 public DashboardReports getDashboardReports() {
371 return dashboardReports;
374 public void setDashboardReports(DashboardReports dashboardReports) {
375 this.dashboardReports = dashboardReports;