01: package org.claros.intouch.calendar.models;
02:
03: import java.util.ArrayList;
04:
05: /**
06: * @author Umut Gokbayrak
07: */
08: public class CalendarHourItems {
09: private Integer hour;
10: private ArrayList appointments;
11:
12: public CalendarHourItems() {
13: appointments = new ArrayList();
14: }
15:
16: public void addAppointment(CalendarObject app) {
17: appointments.add(app);
18: }
19:
20: /**
21: * @return
22: */
23: public ArrayList getAppointments() {
24: return appointments;
25: }
26:
27: /**
28: * @param list
29: */
30: public void setAppointments(ArrayList list) {
31: appointments = list;
32: }
33:
34: /**
35: * @return
36: */
37: public Integer getHour() {
38: return hour;
39: }
40:
41: /**
42: * @param integer
43: */
44: public void setHour(Integer integer) {
45: hour = integer;
46: }
47:
48: }
|