1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.ole.sys.report;
17
18 import java.util.Locale;
19 import java.util.Map;
20 import java.util.ResourceBundle;
21
22 public class ReportInfoHolder implements ReportInfo {
23 private static org.apache.log4j.Logger LOG = org.apache.log4j.Logger.getLogger(ReportInfoHolder.class);
24
25 private String reportFileName;
26 private String reportsDirectory;
27 private String reportTemplateClassPath;
28 private String reportTemplateName;
29 private String reportTitle;
30 private String resourceBundleBaseName;
31 private Map<String, String> subReports;
32 private String subReportTemplateClassPath;
33
34
35
36
37 public String getReportFileName() {
38 return reportFileName;
39 }
40
41
42
43
44 public String getReportsDirectory() {
45 return reportsDirectory;
46 }
47
48
49
50
51 public String getReportTemplateClassPath() {
52 return reportTemplateClassPath;
53 }
54
55
56
57
58 public String getReportTemplateName() {
59 return reportTemplateName;
60 }
61
62
63
64
65 public String getReportTitle() {
66 return reportTitle;
67 }
68
69
70
71
72 public ResourceBundle getResourceBundle() {
73 return ResourceBundle.getBundle(resourceBundleBaseName, Locale.getDefault());
74 }
75
76
77
78
79 public String getResourceBundleBaseName() {
80 return resourceBundleBaseName;
81 }
82
83
84
85
86 public Map<String, String> getSubReports() {
87 return subReports;
88 }
89
90
91
92
93 public String getSubReportTemplateClassPath() {
94 return subReportTemplateClassPath;
95 }
96
97
98
99
100
101
102 public void setReportFileName(String reportFileName) {
103 this.reportFileName = reportFileName;
104 }
105
106
107
108
109
110
111 public void setReportsDirectory(String reportsDirectory) {
112 this.reportsDirectory = reportsDirectory;
113 }
114
115
116
117
118
119
120 public void setReportTemplateClassPath(String reportTemplateClassPath) {
121 this.reportTemplateClassPath = reportTemplateClassPath;
122 }
123
124
125
126
127
128
129 public void setReportTemplateName(String reportTemplateName) {
130 this.reportTemplateName = reportTemplateName;
131 }
132
133
134
135
136
137
138 public void setReportTitle(String reportTitle) {
139 this.reportTitle = reportTitle;
140 }
141
142
143
144
145
146
147 public void setResourceBundleBaseName(String resourceBundleBaseName) {
148 this.resourceBundleBaseName = resourceBundleBaseName;
149 }
150
151
152
153
154
155
156 public void setSubReports(Map<String, String> subReports) {
157 this.subReports = subReports;
158 }
159
160
161
162
163
164
165 public void setSubReportTemplateClassPath(String subReportTemplateClassPath) {
166 this.subReportTemplateClassPath = subReportTemplateClassPath;
167 }
168 }