KickJava   Java API By Example, From Geeks To Geeks.

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


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 /**
25  * @author tkavanagh
26  * @version $Id: ReportJobBean.java 3786 2006-06-21 20:09:09Z tony $
27  */

28
29
30 public class ReportJobBean {
31
32     private long id;
33     private int version;
34     private String JavaDoc label;
35     private String JavaDoc description;
36     private ReportJobTriggerBean trigger;
37     private ReportJobSourceBean source;
38     private String JavaDoc baseOutputFilename;
39     private byte[] outputFormats;
40     private String JavaDoc outputLocale; // todo: ### new field, need to populate
41
private ReportJobRepositoryDestinationBean contentRepositoryDestination;
42     private ReportJobMailNotificationBean mailNotification;
43     
44     public String JavaDoc getBaseOutputFilename() {
45         return baseOutputFilename;
46     }
47     
48     public void setBaseOutputFilename(String JavaDoc baseOutputFilename) {
49         this.baseOutputFilename = baseOutputFilename;
50     }
51     
52     public ReportJobRepositoryDestinationBean getContentRepositoryDestination() {
53         return contentRepositoryDestination;
54     }
55     
56     public void setContentRepositoryDestination(
57             ReportJobRepositoryDestinationBean contentRepositoryDestination) {
58         this.contentRepositoryDestination = contentRepositoryDestination;
59     }
60     
61     public String JavaDoc getDescription() {
62         return description;
63     }
64     
65     public void setDescription(String JavaDoc description) {
66         this.description = description;
67     }
68     
69     public long getId() {
70         return id;
71     }
72     
73     public void setId(long id) {
74         this.id = id;
75     }
76     
77     public String JavaDoc getLabel() {
78         return label;
79     }
80     
81     public void setLabel(String JavaDoc label) {
82         this.label = label;
83     }
84     
85     public ReportJobMailNotificationBean getMailNotification() {
86         return mailNotification;
87     }
88     
89     public void setMailNotification(ReportJobMailNotificationBean mailNotification) {
90         this.mailNotification = mailNotification;
91     }
92     
93     public byte[] getOutputFormats() {
94         return outputFormats;
95     }
96     
97     public void setOutputFormats(byte[] outputFormats) {
98         this.outputFormats = outputFormats;
99     }
100     
101     public String JavaDoc getOutputLocale() {
102         return outputLocale;
103     }
104
105     public void setOutputLocale(String JavaDoc outputLocale) {
106         this.outputLocale = outputLocale;
107     }
108
109     public ReportJobSourceBean getSource() {
110         return source;
111     }
112     
113     public void setSource(ReportJobSourceBean source) {
114         this.source = source;
115     }
116     
117     public ReportJobTriggerBean getTrigger() {
118         return trigger;
119     }
120     
121     public void setTrigger(ReportJobTriggerBean trigger) {
122         this.trigger = trigger;
123     }
124     
125     public int getVersion() {
126         return version;
127     }
128     
129     public void setVersion(int version) {
130         this.version = version;
131     }
132 }
133
Popular Tags