~bureauvirtuel-dev/bureauvirtuel/channels.bdcs_v2

« back to all changes in this revision

Viewing changes to data/beans/CsScheduleDay.java

  • Committer: sbond-portail
  • Date: 2004-08-04 15:54:08 UTC
  • Revision ID: svn-v4:3783d4d9-f018-0410-86f8-8bbe63f93fa6:trunk/millebv/agenda/source/ca/qc/cslaval/agenda/connectors/bdcs:627
*** empty log message ***

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
    Copyright (C)2003-2004 Commission scolaire de Laval (http://www.cslaval.qc.ca)
 
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 in the hope that it will be useful,
 
10
    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
    GNU General Public License for more details.
 
13
 
 
14
    You should have received a copy of the GNU General Public License
 
15
    along with this program; if not, write to the Free Software
 
16
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
17
*/
 
18
package ca.qc.cslaval.agenda.connectors.bdcs.data.beans;
 
19
 
 
20
import java.util.Date;
 
21
 
 
22
import ca.qc.cslaval.agenda.domain.schedules.IScheduleDay;
 
23
import ca.qc.cslaval.agenda.domain.schedules.IScheduleService;
 
24
 
 
25
/**
 
26
 * <p>Description </p>
 
27
 * @author St�phane Bond
 
28
 * @version $Revision$
 
29
 */
 
30
public class CsScheduleDay implements IScheduleDay {
 
31
  private Date date;
 
32
  private int schoolDay;
 
33
  private int schoolCycle;
 
34
  private String eventName;
 
35
  private String eventStyle;
 
36
  private int eventPriority;
 
37
  private IScheduleService scheduleService;
 
38
 
 
39
  /**
 
40
   * @return
 
41
   */
 
42
  public Date getDate() {
 
43
    return date;
 
44
  }
 
45
 
 
46
  /**
 
47
   * @return
 
48
   */
 
49
  public String getEventName() {
 
50
    return eventName;
 
51
  }
 
52
 
 
53
  /**
 
54
   * @return
 
55
   */
 
56
  public int getEventPriority() {
 
57
    return eventPriority;
 
58
  }
 
59
 
 
60
  /**
 
61
   * @return
 
62
   */
 
63
  public String getEventStyle() {
 
64
    return eventStyle;
 
65
  }
 
66
 
 
67
  /**
 
68
   * @return
 
69
   */
 
70
  public IScheduleService getScheduleService() {
 
71
    return scheduleService;
 
72
  }
 
73
 
 
74
  /**
 
75
   * @return
 
76
   */
 
77
  public int getSchoolCycle() {
 
78
    return schoolCycle;
 
79
  }
 
80
 
 
81
  /**
 
82
   * @return
 
83
   */
 
84
  public int getSchoolDay() {
 
85
    return schoolDay;
 
86
  }
 
87
 
 
88
  /**
 
89
   * @param date
 
90
   */
 
91
  public void setDate(Date date) {
 
92
    this.date = date;
 
93
  }
 
94
 
 
95
  /**
 
96
   * @param string
 
97
   */
 
98
  public void setEventName(String string) {
 
99
    eventName = string;
 
100
  }
 
101
 
 
102
  /**
 
103
   * @param i
 
104
   */
 
105
  public void setEventPriority(int i) {
 
106
    eventPriority = i;
 
107
  }
 
108
 
 
109
  /**
 
110
   * @param string
 
111
   */
 
112
  public void setEventStyle(String string) {
 
113
    eventStyle = string;
 
114
  }
 
115
 
 
116
  /**
 
117
   * @param service
 
118
   */
 
119
  public void setScheduleService(IScheduleService service) {
 
120
    scheduleService = service;
 
121
  }
 
122
 
 
123
  /**
 
124
   * @param i
 
125
   */
 
126
  public void setSchoolCycle(int i) {
 
127
    schoolCycle = i;
 
128
  }
 
129
 
 
130
  /**
 
131
   * @param i
 
132
   */
 
133
  public void setSchoolDay(int i) {
 
134
    schoolDay = i;
 
135
  }
 
136
 
 
137
}