KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > jaspersoft > jasperserver > api > engine > scheduling > domain > ReportJobCalendarTrigger


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
22 package com.jaspersoft.jasperserver.api.engine.scheduling.domain;
23
24 import java.io.Serializable JavaDoc;
25 import java.util.SortedSet JavaDoc;
26
27 /**
28  * @author Lucian Chirita (lucianc@users.sourceforge.net)
29  * @version $Id: ReportJobCalendarTrigger.java 3550 2006-06-06 18:47:26Z lucian $
30  */

31 public class ReportJobCalendarTrigger extends ReportJobTrigger implements Serializable JavaDoc {
32     
33     private static final long serialVersionUID = 1L;
34     
35     public static final byte DAYS_TYPE_ALL = 1;
36     public static final byte DAYS_TYPE_WEEK = 2;
37     public static final byte DAYS_TYPE_MONTH = 3;
38     
39     private String JavaDoc minutes;
40     private String JavaDoc hours;
41     private byte daysType;
42     private SortedSet JavaDoc weekDays;
43     private String JavaDoc monthDays;
44     private SortedSet JavaDoc months;
45     
46     public ReportJobCalendarTrigger() {
47     }
48
49     public String JavaDoc getMinutes() {
50         return minutes;
51     }
52
53     public void setMinutes(String JavaDoc minutes) {
54         this.minutes = minutes;
55     }
56
57     public String JavaDoc getHours() {
58         return hours;
59     }
60
61     public void setHours(String JavaDoc hours) {
62         this.hours = hours;
63     }
64
65     public byte getDaysType() {
66         return daysType;
67     }
68
69     public void setDaysType(byte daysType) {
70         this.daysType = daysType;
71     }
72
73     public String JavaDoc getMonthDays() {
74         return monthDays;
75     }
76
77     public void setMonthDays(String JavaDoc monthDays) {
78         this.monthDays = monthDays;
79     }
80
81     public SortedSet JavaDoc getMonths() {
82         return months;
83     }
84
85     public void setMonths(SortedSet JavaDoc months) {
86         this.months = months;
87     }
88
89     public SortedSet JavaDoc getWeekDays() {
90         return weekDays;
91     }
92
93     public void setWeekDays(SortedSet JavaDoc weekDays) {
94         this.weekDays = weekDays;
95     }
96
97 }
98
Popular Tags