Kenmegne
6 days ago 6494941037ae2670876de9940853d50538eb5129
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
/*
 * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
 * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
 */
package com.megatim.reporting.adhoc.pojo.layouts;
 
import com.megatim.reporting.adhoc.pojo.components.ValueElement;
import com.megatim.reporting.adhoc.pojo.enums.ReportOrientation;
import java.util.HashMap;
import java.util.Map;
 
/**
 *
 * @author ASUS
 */
public class MainReport {
 
    protected String name;
 
    protected int pageHeight;
 
    protected int pageWidth;
 
    protected int rightMargin;
 
    protected int topMargin;
 
    protected int leftMargin;
 
    protected int bottomMargin;
 
    protected ReportOrientation orientation = ReportOrientation.PORTRAIT;
 
    protected Map<String, ValueElement> parameters = new HashMap<>();
 
    protected Map<String, ValueElement> fields = new HashMap<>();
 
    protected Title title;
 
    protected PageHeader pageHeader;
 
    protected ColumnHeader columnHeader;
 
    protected ColumnData columnData;
 
    protected PageFooter pageFooter;
 
    protected String whenNoDataType = "NoDataSection";
 
    protected String whenResourceMissingType = "Key";
 
    protected int columnWidth = 814;
 
    protected boolean detail;
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    public ReportOrientation getOrientation() {
        return orientation;
    }
 
    public void setOrientation(ReportOrientation orientation) {
        this.orientation = orientation;
    }
 
    public Map<String, ValueElement> getParameters() {
        return parameters;
    }
 
    public void setParameters(Map<String, ValueElement> parameters) {
        this.parameters = parameters;
    }
 
    public Map<String, ValueElement> getFields() {
        return fields;
    }
 
    public void setFields(Map<String, ValueElement> fields) {
        this.fields = fields;
    }
 
    public int getPageHeight() {
        return pageHeight;
    }
 
    public void setPageHeight(int pageHeight) {
        this.pageHeight = pageHeight;
    }
 
    public int getPageWidth() {
        return pageWidth;
    }
 
    public void setPageWidth(int pageWidth) {
        this.pageWidth = pageWidth;
    }
 
    public int getRightMargin() {
        return rightMargin;
    }
 
    public void setRightMargin(int rightMargin) {
        this.rightMargin = rightMargin;
    }
 
    public int getTopMargin() {
        return topMargin;
    }
 
    public void setTopMargin(int topMargin) {
        this.topMargin = topMargin;
    }
 
    public int getLeftMargin() {
        return leftMargin;
    }
 
    public void setLeftMargin(int leftMargin) {
        this.leftMargin = leftMargin;
    }
 
    public int getBottomMargin() {
        return bottomMargin;
    }
 
    public void setBottomMargin(int bottomMargin) {
        this.bottomMargin = bottomMargin;
    }
 
    public Title getTitle() {
        return title;
    }
 
    public void setTitle(Title title) {
        this.title = title;
    }
 
    public PageHeader getPageHeader() {
        return pageHeader;
    }
 
    public void setPageHeader(PageHeader pageHeader) {
        this.pageHeader = pageHeader;
    }
 
    public ColumnHeader getColumnHeader() {
        return columnHeader;
    }
 
    public void setColumnHeader(ColumnHeader columnHeader) {
        this.columnHeader = columnHeader;
    }
 
    public ColumnData getColumnData() {
        return columnData;
    }
 
    public void setColumnData(ColumnData columnData) {
        this.columnData = columnData;
    }
 
    public PageFooter getPageFooter() {
        return pageFooter;
    }
 
    public void setPageFooter(PageFooter pageFooter) {
        this.pageFooter = pageFooter;
    }
 
    public String getWhenNoDataType() {
        return whenNoDataType;
    }
 
    public void setWhenNoDataType(String whenNoDataType) {
        this.whenNoDataType = whenNoDataType;
    }
 
    public String getWhenResourceMissingType() {
        return whenResourceMissingType;
    }
 
    public void setWhenResourceMissingType(String whenResourceMissingType) {
        this.whenResourceMissingType = whenResourceMissingType;
    }
 
    public int getColumnWidth() {
        return columnWidth;
    }
 
    public void setColumnWidth(int columnWidth) {
        this.columnWidth = columnWidth;
    }
 
    public boolean isDetail() {
        return detail;
    }
 
    public void setDetail(boolean detail) {
        this.detail = detail;
    }
 
}