9e9428cf9e866cb4b6b9e7f23eb0222086560972
[portal/sdk.git] /
1 /*
2  * ============LICENSE_START==========================================
3  * ONAP Portal SDK
4  * ===================================================================
5  * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
6  * ===================================================================
7  *
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
12  *
13  *             http://www.apache.org/licenses/LICENSE-2.0
14  *
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.
20  *
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
25  *
26  *             https://creativecommons.org/licenses/by/4.0/
27  *
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.
33  *
34  * ============LICENSE_END============================================
35  *
36  * 
37  */
38 package org.onap.portalsdk.analytics.model.definition.wizard;
39
40 import java.util.List;
41
42 import org.onap.portalsdk.analytics.xmlobj.DashboardReports;
43
44 public class DefinitionJSON implements WizardJSON {
45
46         private String tabName;
47         private String tabId;
48         
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     
84         @Override
85         public String getTabName() {
86                 return tabName;
87         }
88
89         @Override
90         public void setTabName(String tabName) {
91                 this.tabName = tabName;
92         }
93
94         @Override
95         public String getTabId() {
96                 return tabId;
97         }
98
99         @Override
100         public void setTabId(String tabId) {
101                 this.tabId = tabId;
102         }
103         
104         
105
106         public String getReportId() {
107                 return reportId;
108         }
109
110         public void setReportId(String reportId) {
111                 this.reportId = reportId;
112         }
113
114         public String getReportName() {
115                 return reportName;
116         }
117
118         public void setReportName(String reportName) {
119                 this.reportName = reportName;
120         }
121
122         public String getReportDescr() {
123                 return reportDescr;
124         }
125
126         public void setReportDescr(String reportDescr) {
127                 this.reportDescr = reportDescr;
128         }
129
130         public String getReportType() {
131                 return reportType;
132         }
133
134         public void setReportType(String reportType) {
135                 this.reportType = reportType;
136         }
137         
138         public void setReportTypeList(List<IdNameBooleanJSON> reportTypeList) {
139                 this.reportTypeList = reportTypeList;
140         }       
141
142         public List<IdNameBooleanJSON> getReportTypeList() {
143                 return reportTypeList;
144         }
145
146         public String getDbInfo() {
147                 return dbInfo;
148         }
149
150         public void setDbInfo(String dbInfo) {
151                 this.dbInfo = dbInfo;
152         }
153
154         public String getFormHelpText() {
155                 return formHelpText;
156         }
157
158         public void setFormHelpText(String formHelpText) {
159                 this.formHelpText = formHelpText;
160         }
161
162         public Integer getPageSize() {
163                 return pageSize;
164         }
165
166         public void setPageSize(Integer pageSize) {
167                 this.pageSize = pageSize;
168         }
169
170         public List<IdNameBooleanJSON> getDisplayArea() {
171                 return displayArea;
172         }
173
174         public void setDisplayArea(List<IdNameBooleanJSON> displayArea) {
175                 this.displayArea = displayArea;
176         }
177
178         public Boolean getHideFormFieldsAfterRun() {
179                 return hideFormFieldsAfterRun;
180         }
181
182         public void setHideFormFieldsAfterRun(Boolean hideFormFieldsAfterRun) {
183                 this.hideFormFieldsAfterRun = hideFormFieldsAfterRun;
184         }
185
186         public Integer getMaxRowsInExcelCSVDownload() {
187                 return maxRowsInExcelCSVDownload;
188         }
189
190         public void setMaxRowsInExcelCSVDownload(Integer maxRowsInExcelCSVDownload) {
191                 this.maxRowsInExcelCSVDownload = maxRowsInExcelCSVDownload;
192         }
193
194         public Integer getFrozenColumns() {
195                 return frozenColumns;
196         }
197
198         public void setFrozenColumns(Integer frozenColumns) {
199                 this.frozenColumns = frozenColumns;
200         }
201
202         public String getDataGridAlign() {
203                 return dataGridAlign;
204         }
205
206         public void setDataGridAlign(String dataGridAlign) {
207                 this.dataGridAlign = dataGridAlign;
208         }
209
210         public String getEmptyMessage() {
211                 return emptyMessage;
212         }
213
214         public void setEmptyMessage(String emptyMessage) {
215                 this.emptyMessage = emptyMessage;
216         }
217
218         public String getDataContainerHeight() {
219                 return dataContainerHeight;
220         }
221
222         public void setDataContainerHeight(String dataContainerHeight) {
223                 this.dataContainerHeight = dataContainerHeight;
224         }
225
226         public String getDataContainerWidth() {
227                 return dataContainerWidth;
228         }
229
230         public void setDataContainerWidth(String dataContainerWidth) {
231                 this.dataContainerWidth = dataContainerWidth;
232         }
233
234         public List<NameBooleanJSON> getDisplayOptions() {
235                 return displayOptions;
236         }
237
238         public void setDisplayOptions(List<NameBooleanJSON> displayOptions) {
239                 this.displayOptions = displayOptions;
240         }
241
242         public Boolean getRuntimeColSortDisabled() {
243                 return runtimeColSortDisabled;
244         }
245
246         public void setRuntimeColSortDisabled(Boolean runtimeColSortDisabled) {
247                 this.runtimeColSortDisabled = runtimeColSortDisabled;
248         }
249
250         public Integer getNumFormCols() {
251                 return numFormCols;
252         }
253
254         public void setNumFormCols(Integer numFormCols) {
255                 this.numFormCols = numFormCols;
256         }
257
258         public String getReportTitle() {
259                 return reportTitle;
260         }
261
262         public void setReportTitle(String reportTitle) {
263                 this.reportTitle = reportTitle;
264         }
265
266         public String getReportSubTitle() {
267                 return reportSubTitle;
268         }
269
270         public void setReportSubTitle(String reportSubTitle) {
271                 this.reportSubTitle = reportSubTitle;
272         }
273
274         public String getOneTimeRec() {
275                 return oneTimeRec;
276         }
277
278         public void setOneTimeRec(String oneTimeRec) {
279                 this.oneTimeRec = oneTimeRec;
280         }
281
282         public String getHourlyRec() {
283                 return hourlyRec;
284         }
285
286         public void setHourlyRec(String hourlyRec) {
287                 this.hourlyRec = hourlyRec;
288         }
289
290         public String getDailyRec() {
291                 return dailyRec;
292         }
293
294         public void setDailyRec(String dailyRec) {
295                 this.dailyRec = dailyRec;
296         }
297
298         public String getDailyMFRec() {
299                 return dailyMFRec;
300         }
301
302         public void setDailyMFRec(String dailyMFRec) {
303                 this.dailyMFRec = dailyMFRec;
304         }
305
306         public String getWeeklyRec() {
307                 return weeklyRec;
308         }
309
310         public void setWeeklyRec(String weeklyRec) {
311                 this.weeklyRec = weeklyRec;
312         }
313
314         public String getMonthlyRec() {
315                 return monthlyRec;
316         }
317
318         public void setMonthlyRec(String monthlyRec) {
319                 this.monthlyRec = monthlyRec;
320         }
321
322         public String getAllowScheduler() {
323                 return allowScheduler;
324         }
325
326         public void setAllowScheduler(String allowScheduler) {
327                 this.allowScheduler = allowScheduler;
328         }
329
330         public String getSizedByContent() {
331                 return sizedByContent;
332         }
333
334         public void setSizedByContent(String sizedByContent) {
335                 this.sizedByContent = sizedByContent;
336         }
337
338         public String getRepDefType() {
339                 return repDefType;
340         }
341
342         public void setRepDefType(String repDefType) {
343                 this.repDefType = repDefType;
344         }
345         
346         public List<IdNameBooleanJSON> getDbInfoList() {
347                 return dbInfoList;
348         }
349
350         public void setDbInfoList(List<IdNameBooleanJSON> dbInfoList) {
351                 this.dbInfoList = dbInfoList;
352         }
353
354         public String getDashboardLayoutHTML() {
355                 return dashboardLayoutHTML;
356         }
357
358         public void setDashboardLayoutHTML(String dashboardLayoutHTML) {
359                 this.dashboardLayoutHTML = dashboardLayoutHTML;
360         }
361
362         public String getDashboardLayoutJSON() {
363                 return dashboardLayoutJSON;
364         }
365
366         public void setDashboardLayoutJSON(String dashboardLayoutJSON) {
367                 this.dashboardLayoutJSON = dashboardLayoutJSON;
368         }
369
370         public DashboardReports getDashboardReports() {
371                 return dashboardReports;
372         }
373
374         public void setDashboardReports(DashboardReports dashboardReports) {
375                 this.dashboardReports = dashboardReports;
376         }
377         
378 }