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