01: package org.sakaiproject.section.api.coursemanagement;
02:
03: import java.sql.Time;
04:
05: public interface Meeting {
06: /**
07: * Gets the location where this CourseSection meets.
08: * @return
09: */
10: public String getLocation();
11:
12: /**
13: * Whether the CourseSection meets on Mondays.
14: *
15: * @return
16: */
17: public boolean isMonday();
18:
19: /**
20: * Whether the CourseSection meets on Tuesdays.
21: *
22: * @return
23: */
24: public boolean isTuesday();
25:
26: /**
27: * Whether the CourseSection meets on Wednesdays.
28: *
29: * @return
30: */
31: public boolean isWednesday();
32:
33: /**
34: * Whether the CourseSection meets on Thursdays.
35: *
36: * @return
37: */
38: public boolean isThursday();
39:
40: /**
41: * Whether the CourseSection meets on Fridays.
42: *
43: * @return
44: */
45: public boolean isFriday();
46:
47: /**
48: * Whether the CourseSection meets on Saturdays.
49: *
50: * @return
51: */
52: public boolean isSaturday();
53:
54: /**
55: * Whether the CourseSection meets on Sundays.
56: *
57: * @return
58: */
59: public boolean isSunday();
60:
61: /**
62: * Gets the time of day that this CourseSection's meeting(s) start.
63: *
64: * @return
65: */
66: public Time getStartTime();
67:
68: /**
69: * Gets the time of day that this CourseSection's meeting(s) end.
70: *
71: * @return
72: */
73: public Time getEndTime();
74:
75: /**
76: * Indicates whether this meeting has no information. Should return true if there are
77: * no meeting times and a null location.
78: *
79: * @return
80: */
81: public boolean isEmpty();
82: }
|