001: package org.sakaiproject.coursemanagement.impl;
002:
003: import java.io.Serializable;
004: import java.sql.Time;
005:
006: import org.sakaiproject.coursemanagement.api.Meeting;
007: import org.sakaiproject.coursemanagement.api.Section;
008:
009: public class MeetingCmImpl extends
010: AbstractPersistentCourseManagementObjectCmImpl implements
011: Meeting, Serializable {
012: private static final long serialVersionUID = 1L;
013:
014: private Section section;
015:
016: private String location;
017: private Time startTime;
018: private Time finishTime;
019: private boolean monday;
020: private boolean tuesday;
021: private boolean wednesday;
022: private boolean thursday;
023: private boolean friday;
024: private boolean saturday;
025: private boolean sunday;
026: private String notes;
027:
028: public MeetingCmImpl() {
029: }
030:
031: public MeetingCmImpl(Section section, String location,
032: Time startTime, Time finishTime) {
033: this .section = section;
034: this .location = location;
035: this .startTime = startTime;
036: this .finishTime = finishTime;
037: }
038:
039: public MeetingCmImpl(Section section, String location,
040: Time startTime, Time finishTime, String notes) {
041: this (section, location, startTime, finishTime);
042: this .notes = notes;
043: }
044:
045: public Section getSection() {
046: return section;
047: }
048:
049: public void setSection(Section section) {
050: this .section = section;
051: }
052:
053: public String getLocation() {
054: return location;
055: }
056:
057: public void setLocation(String location) {
058: this .location = location;
059: }
060:
061: public String getNotes() {
062: return notes;
063: }
064:
065: public void setNotes(String notes) {
066: this .notes = notes;
067: }
068:
069: public Time getFinishTime() {
070: return finishTime;
071: }
072:
073: public void setFinishTime(Time finishTime) {
074: this .finishTime = finishTime;
075: }
076:
077: public Time getStartTime() {
078: return startTime;
079: }
080:
081: public void setStartTime(Time startTime) {
082: this .startTime = startTime;
083: }
084:
085: public boolean isFriday() {
086: return friday;
087: }
088:
089: public void setFriday(boolean friday) {
090: this .friday = friday;
091: }
092:
093: public boolean isMonday() {
094: return monday;
095: }
096:
097: public void setMonday(boolean monday) {
098: this .monday = monday;
099: }
100:
101: public boolean isSaturday() {
102: return saturday;
103: }
104:
105: public void setSaturday(boolean saturday) {
106: this .saturday = saturday;
107: }
108:
109: public boolean isSunday() {
110: return sunday;
111: }
112:
113: public void setSunday(boolean sunday) {
114: this .sunday = sunday;
115: }
116:
117: public boolean isThursday() {
118: return thursday;
119: }
120:
121: public void setThursday(boolean thursday) {
122: this .thursday = thursday;
123: }
124:
125: public boolean isTuesday() {
126: return tuesday;
127: }
128:
129: public void setTuesday(boolean tuesday) {
130: this .tuesday = tuesday;
131: }
132:
133: public boolean isWednesday() {
134: return wednesday;
135: }
136:
137: public void setWednesday(boolean wednesday) {
138: this.wednesday = wednesday;
139: }
140: }
|