KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > jaspersoft > jasperserver > util > ReportUnitBean


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.util;
22
23 /**
24  * @author tkavanagh
25  * @version $Id: ReportUnitBean.java 3451 2006-05-24 15:57:03Z tony $
26  */

27
28 public class ReportUnitBean extends ResourceBean {
29
30     /*
31      * The following come from the ReportUnit interface
32      */

33     private DataSourceBean dataSource;
34     private QueryBean query;
35     private InputControlBean[] inputControls;
36     private FileResourceBean mainReport;
37     private FileResourceBean[] resources;
38
39     
40     public DataSourceBean getDataSource() {
41         return dataSource;
42     }
43
44     public void setDataSource(DataSourceBean dataSource) {
45         this.dataSource = dataSource;
46     }
47     
48     public QueryBean getQuery() {
49         return query;
50     }
51
52     public void setQuery(QueryBean query) {
53         this.query = query;
54     }
55     
56     public InputControlBean[] getInputControls() {
57         return inputControls;
58     }
59
60     public void setInputControls(InputControlBean[] inputControls) {
61         this.inputControls = inputControls;
62     }
63
64     public FileResourceBean getMainReport() {
65         return mainReport;
66     }
67
68     public void setMainReport(FileResourceBean mainReport) {
69         this.mainReport = mainReport;
70     }
71
72     public FileResourceBean[] getResources() {
73         return resources;
74     }
75
76     public void setResources(FileResourceBean[] resources) {
77         this.resources = resources;
78     }
79 }
80
Popular Tags