KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > jaspersoft > jasperserver > war > wizard > TestAttribute


1 /*
2  * Copyright (C) 2006 JasperSoft http://www.jaspersoft.com
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed WITHOUT ANY WARRANTY; and without the
10  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11  * See the GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program; if not, see http://www.gnu.org/licenses/gpl.txt
15  * or write to:
16  *
17  * Free Software Foundation, Inc.,
18  * 59 Temple Place - Suite 330,
19  * Boston, MA USA 02111-1307
20  */

21 package com.jaspersoft.jasperserver.war.wizard;
22
23 import java.util.Map JavaDoc;
24
25
26 public class TestAttribute {
27     public static String JavaDoc DSTYPE_JDBC = "JDBC Data Source";
28     public static String JavaDoc DSTYPE_JNDI = "JNDI Data Source";
29     private String JavaDoc jrxml;
30     private Map JavaDoc jrmlResources;
31     private String JavaDoc publishFolder;
32     private DataSourceAttrb dataSourceAttrb;
33     private String JavaDoc reportName;
34     private String JavaDoc dataSourceReportName;
35     private String JavaDoc dataTypeReportName;
36     private String JavaDoc jrxmlReportName;
37     private String JavaDoc label;
38     private String JavaDoc serviceName;
39     private String JavaDoc inputControlReportName;
40
41     /**
42      * @return Returns the label.
43      **/

44     public String JavaDoc getServiceName() {
45         return serviceName;
46     }
47
48     /**
49      * @param label The label to set.
50      **/

51     public void setServiceName(String JavaDoc serviceName) {
52         this.serviceName = serviceName;
53     }
54     
55     
56     /**
57      * @return Returns the label.
58      **/

59     public String JavaDoc getLabel() {
60         return label;
61     }
62
63     /**
64      * @param label The label to set.
65      **/

66     public void setLabel(String JavaDoc label) {
67         this.label = label;
68     }
69
70     /**
71      * @return Returns the reportName.
72      **/

73     public String JavaDoc getJRXMLReportName() {
74         return jrxmlReportName;
75     }
76
77     /**
78      * @param reportName The reportName to set.
79      **/

80     public void setJRXMLReportName(String JavaDoc jrxmlReportName) {
81         this.jrxmlReportName = jrxmlReportName;
82     }
83     
84     
85     
86     /**
87      * @return Returns the reportName.
88      **/

89     public String JavaDoc getDataSourceReportName() {
90         return dataSourceReportName;
91     }
92
93     /**
94      * @param reportName The reportName to set.
95      **/

96     public void setDataSourceReportName(String JavaDoc dataSourceReportName) {
97         this.dataSourceReportName = dataSourceReportName;
98     }
99     
100     /**
101      * @return Returns the reportName.
102      **/

103     public String JavaDoc getDataTypeReportName() {
104         return dataTypeReportName;
105     }
106
107     /**
108      * @param reportName The reportName to set.
109      **/

110     public void setDataTypeReportName(String JavaDoc dataTypeReportName) {
111         this.dataTypeReportName = dataTypeReportName;
112     }
113     
114     /**
115      * @return Returns the reportName.
116      **/

117     public String JavaDoc getReportName() {
118         return reportName;
119     }
120
121     /**
122      * @param reportName The reportName to set.
123      **/

124     public void setReportName(String JavaDoc reportName) {
125         this.reportName = reportName;
126     }
127
128     /**
129      * @return Returns the dataSourceAttrb.
130      **/

131     public DataSourceAttrb getDataSourceAttrb() {
132         return dataSourceAttrb;
133     }
134
135     /**
136      * @param dataSourceAttrb The dataSourceAttrb to set.
137      **/

138     public void setDataSourceAttrb(DataSourceAttrb dataSourceAttrb) {
139         this.dataSourceAttrb = dataSourceAttrb;
140     }
141
142     /**
143      * @return Returns the jrmlResources.
144      **/

145     public Map JavaDoc getJrmlResources() {
146         return jrmlResources;
147     }
148
149     /**
150      * @param jrmlResources The jrmlResources to set.
151      **/

152     public void setJrmlResources(Map JavaDoc jrmlResources) {
153         this.jrmlResources = jrmlResources;
154     }
155
156     /**
157      * @return Returns the jrxml.
158      **/

159     public String JavaDoc getJrxml() {
160         return jrxml;
161     }
162
163     /**
164      * @param jrxml The jrxml to set.
165      **/

166     public void setJrxml(String JavaDoc jrxml) {
167         this.jrxml = jrxml;
168     }
169
170     /**
171      * @return Returns the publishFolder.
172      **/

173     public String JavaDoc getPublishFolder() {
174         return publishFolder;
175     }
176
177     /**
178      * @param publishFolder The publishFolder to set.
179      **/

180     public void setPublishFolder(String JavaDoc publishFolder) {
181         this.publishFolder = publishFolder;
182     }
183
184     public class DataSourceAttrb {
185         private String JavaDoc dataSourceType;
186         private String JavaDoc name;
187         private String JavaDoc label;
188         private String JavaDoc driver;
189         private String JavaDoc url;
190         private String JavaDoc username;
191         private String JavaDoc password;
192         private String JavaDoc serviceName;
193
194         /**
195          * @return Returns the dataSourceType.
196          **/

197         public String JavaDoc getDataSourceType() {
198             return dataSourceType;
199         }
200
201         /**
202          * @param dataSourceType The dataSourceType to set.
203          **/

204         public void setDataSourceType(String JavaDoc dataSourceType) {
205             this.dataSourceType = dataSourceType;
206         }
207
208         /**
209          * @return Returns the driver.
210          **/

211         public String JavaDoc getDriver() {
212             return driver;
213         }
214
215         /**
216          * @param driver The driver to set.
217          **/

218         public void setDriver(String JavaDoc driver) {
219             this.driver = driver;
220         }
221
222         /**
223          * @return Returns the label.
224          **/

225         public String JavaDoc getLabel() {
226             return label;
227         }
228
229         /**
230          * @param label The label to set.
231          **/

232         public void setLabel(String JavaDoc label) {
233             this.label = label;
234         }
235
236         /**
237          * @return Returns the name.
238          **/

239         public String JavaDoc getName() {
240             return name;
241         }
242
243         /**
244          * @param name The name to set.
245          **/

246         public void setName(String JavaDoc name) {
247             this.name = name;
248         }
249
250         /**
251          * @return Returns the password.
252          **/

253         public String JavaDoc getPassword() {
254             return password;
255         }
256
257         /**
258          * @param password The password to set.
259          **/

260         public void setPassword(String JavaDoc password) {
261             this.password = password;
262         }
263
264         /**
265          * @return Returns the serviceName.
266          **/

267         public String JavaDoc getServiceName() {
268             return serviceName;
269         }
270
271         /**
272          * @param serviceName The serviceName to set.
273          **/

274         public void setServiceName(String JavaDoc serviceName) {
275             this.serviceName = serviceName;
276         }
277
278         /**
279          * @return Returns the url.
280          **/

281         public String JavaDoc getUrl() {
282             return url;
283         }
284
285         /**
286          * @param url The url to set.
287          **/

288         public void setUrl(String JavaDoc url) {
289             this.url = url;
290         }
291
292         /**
293          * @return Returns the username.
294          **/

295         public String JavaDoc getUsername() {
296             return username;
297         }
298
299         /**
300          * @param username The username to set.
301          **/

302         public void setUsername(String JavaDoc username) {
303             this.username = username;
304         }
305     }
306
307     public String JavaDoc getInputControlReportName() {
308         return inputControlReportName;
309     }
310
311     public void setInputControlReportName(String JavaDoc inputControlReportName) {
312         this.inputControlReportName = inputControlReportName;
313     }
314 }
315
Popular Tags