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;
83 private String chartType;
86 public String getTabName() {
90 public String getChartType() {
94 public void setChartType(String chartType) {
95 this.chartType = chartType;
99 public void setTabName(String tabName) {
100 this.tabName = tabName;
104 public String getTabId() {
109 public void setTabId(String tabId) {
115 public String getReportId() {
119 public void setReportId(String reportId) {
120 this.reportId = reportId;
123 public String getReportName() {
127 public void setReportName(String reportName) {
128 this.reportName = reportName;
131 public String getReportDescr() {
135 public void setReportDescr(String reportDescr) {
136 this.reportDescr = reportDescr;
139 public String getReportType() {
143 public void setReportType(String reportType) {
144 this.reportType = reportType;
147 public void setReportTypeList(List<IdNameBooleanJSON> reportTypeList) {
148 this.reportTypeList = reportTypeList;
151 public List<IdNameBooleanJSON> getReportTypeList() {
152 return reportTypeList;
155 public String getDbInfo() {
159 public void setDbInfo(String dbInfo) {
160 this.dbInfo = dbInfo;
163 public String getFormHelpText() {
167 public void setFormHelpText(String formHelpText) {
168 this.formHelpText = formHelpText;
171 public Integer getPageSize() {
175 public void setPageSize(Integer pageSize) {
176 this.pageSize = pageSize;
179 public List<IdNameBooleanJSON> getDisplayArea() {
183 public void setDisplayArea(List<IdNameBooleanJSON> displayArea) {
184 this.displayArea = displayArea;
187 public Boolean getHideFormFieldsAfterRun() {
188 return hideFormFieldsAfterRun;
191 public void setHideFormFieldsAfterRun(Boolean hideFormFieldsAfterRun) {
192 this.hideFormFieldsAfterRun = hideFormFieldsAfterRun;
195 public Integer getMaxRowsInExcelCSVDownload() {
196 return maxRowsInExcelCSVDownload;
199 public void setMaxRowsInExcelCSVDownload(Integer maxRowsInExcelCSVDownload) {
200 this.maxRowsInExcelCSVDownload = maxRowsInExcelCSVDownload;
203 public Integer getFrozenColumns() {
204 return frozenColumns;
207 public void setFrozenColumns(Integer frozenColumns) {
208 this.frozenColumns = frozenColumns;
211 public String getDataGridAlign() {
212 return dataGridAlign;
215 public void setDataGridAlign(String dataGridAlign) {
216 this.dataGridAlign = dataGridAlign;
219 public String getEmptyMessage() {
223 public void setEmptyMessage(String emptyMessage) {
224 this.emptyMessage = emptyMessage;
227 public String getDataContainerHeight() {
228 return dataContainerHeight;
231 public void setDataContainerHeight(String dataContainerHeight) {
232 this.dataContainerHeight = dataContainerHeight;
235 public String getDataContainerWidth() {
236 return dataContainerWidth;
239 public void setDataContainerWidth(String dataContainerWidth) {
240 this.dataContainerWidth = dataContainerWidth;
243 public List<NameBooleanJSON> getDisplayOptions() {
244 return displayOptions;
247 public void setDisplayOptions(List<NameBooleanJSON> displayOptions) {
248 this.displayOptions = displayOptions;
251 public Boolean getRuntimeColSortDisabled() {
252 return runtimeColSortDisabled;
255 public void setRuntimeColSortDisabled(Boolean runtimeColSortDisabled) {
256 this.runtimeColSortDisabled = runtimeColSortDisabled;
259 public Integer getNumFormCols() {
263 public void setNumFormCols(Integer numFormCols) {
264 this.numFormCols = numFormCols;
267 public String getReportTitle() {
271 public void setReportTitle(String reportTitle) {
272 this.reportTitle = reportTitle;
275 public String getReportSubTitle() {
276 return reportSubTitle;
279 public void setReportSubTitle(String reportSubTitle) {
280 this.reportSubTitle = reportSubTitle;
283 public String getOneTimeRec() {
287 public void setOneTimeRec(String oneTimeRec) {
288 this.oneTimeRec = oneTimeRec;
291 public String getHourlyRec() {
295 public void setHourlyRec(String hourlyRec) {
296 this.hourlyRec = hourlyRec;
299 public String getDailyRec() {
303 public void setDailyRec(String dailyRec) {
304 this.dailyRec = dailyRec;
307 public String getDailyMFRec() {
311 public void setDailyMFRec(String dailyMFRec) {
312 this.dailyMFRec = dailyMFRec;
315 public String getWeeklyRec() {
319 public void setWeeklyRec(String weeklyRec) {
320 this.weeklyRec = weeklyRec;
323 public String getMonthlyRec() {
327 public void setMonthlyRec(String monthlyRec) {
328 this.monthlyRec = monthlyRec;
331 public String getAllowScheduler() {
332 return allowScheduler;
335 public void setAllowScheduler(String allowScheduler) {
336 this.allowScheduler = allowScheduler;
339 public String getSizedByContent() {
340 return sizedByContent;
343 public void setSizedByContent(String sizedByContent) {
344 this.sizedByContent = sizedByContent;
347 public String getRepDefType() {
351 public void setRepDefType(String repDefType) {
352 this.repDefType = repDefType;
355 public List<IdNameBooleanJSON> getDbInfoList() {
359 public void setDbInfoList(List<IdNameBooleanJSON> dbInfoList) {
360 this.dbInfoList = dbInfoList;
363 public String getDashboardLayoutHTML() {
364 return dashboardLayoutHTML;
367 public void setDashboardLayoutHTML(String dashboardLayoutHTML) {
368 this.dashboardLayoutHTML = dashboardLayoutHTML;
371 public String getDashboardLayoutJSON() {
372 return dashboardLayoutJSON;
375 public void setDashboardLayoutJSON(String dashboardLayoutJSON) {
376 this.dashboardLayoutJSON = dashboardLayoutJSON;
379 public DashboardReports getDashboardReports() {
380 return dashboardReports;
383 public void setDashboardReports(DashboardReports dashboardReports) {
384 this.dashboardReports = dashboardReports;