org.sakaiproject.component.section
Class MeetingImpl

java.lang.Object
  extended by org.sakaiproject.component.section.MeetingImpl
All Implemented Interfaces:
Serializable, Meeting

public class MeetingImpl
extends Object
implements Meeting, Serializable

See Also:
Serialized Form

Constructor Summary
MeetingImpl()
           
MeetingImpl(Meeting meeting)
           
MeetingImpl(String location, Time startTime, Time endTime, boolean monday, boolean tuesday, boolean wednesday, boolean thursday, boolean friday, boolean saturday, boolean sunday)
           
 
Method Summary
 Time getEndTime()
          Gets the time of day that this CourseSection's meeting(s) end.
 String getLocation()
          Gets the location where this CourseSection meets.
 Time getStartTime()
          Gets the time of day that this CourseSection's meeting(s) start.
 boolean isEmpty()
          Indicates whether this meeting has no information.
 boolean isFriday()
          Whether the CourseSection meets on Fridays.
 boolean isMonday()
          Whether the CourseSection meets on Mondays.
 boolean isSaturday()
          Whether the CourseSection meets on Saturdays.
 boolean isSunday()
          Whether the CourseSection meets on Sundays.
 boolean isThursday()
          Whether the CourseSection meets on Thursdays.
 boolean isTuesday()
          Whether the CourseSection meets on Tuesdays.
 boolean isWednesday()
          Whether the CourseSection meets on Wednesdays.
 void setEndTime(Time endTime)
           
 void setFriday(boolean friday)
           
 void setLocation(String location)
           
 void setMonday(boolean monday)
           
 void setSaturday(boolean saturday)
           
 void setStartTime(Time startTime)
           
 void setSunday(boolean sunday)
           
 void setThursday(boolean thursday)
           
 void setTuesday(boolean tuesday)
           
 void setWednesday(boolean wednesday)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MeetingImpl

public MeetingImpl()

MeetingImpl

public MeetingImpl(String location,
                   Time startTime,
                   Time endTime,
                   boolean monday,
                   boolean tuesday,
                   boolean wednesday,
                   boolean thursday,
                   boolean friday,
                   boolean saturday,
                   boolean sunday)

MeetingImpl

public MeetingImpl(Meeting meeting)
Method Detail

isEmpty

public boolean isEmpty()
Description copied from interface: Meeting
Indicates whether this meeting has no information. Should return true if there are no meeting times and a null location.

Specified by:
isEmpty in interface Meeting
Returns:

getEndTime

public Time getEndTime()
Description copied from interface: Meeting
Gets the time of day that this CourseSection's meeting(s) end.

Specified by:
getEndTime in interface Meeting
Returns:

setEndTime

public void setEndTime(Time endTime)

isFriday

public boolean isFriday()
Description copied from interface: Meeting
Whether the CourseSection meets on Fridays.

Specified by:
isFriday in interface Meeting
Returns:

setFriday

public void setFriday(boolean friday)

getLocation

public String getLocation()
Description copied from interface: Meeting
Gets the location where this CourseSection meets.

Specified by:
getLocation in interface Meeting
Returns:

setLocation

public void setLocation(String location)

isMonday

public boolean isMonday()
Description copied from interface: Meeting
Whether the CourseSection meets on Mondays.

Specified by:
isMonday in interface Meeting
Returns:

setMonday

public void setMonday(boolean monday)

isSaturday

public boolean isSaturday()
Description copied from interface: Meeting
Whether the CourseSection meets on Saturdays.

Specified by:
isSaturday in interface Meeting
Returns:

setSaturday

public void setSaturday(boolean saturday)

getStartTime

public Time getStartTime()
Description copied from interface: Meeting
Gets the time of day that this CourseSection's meeting(s) start.

Specified by:
getStartTime in interface Meeting
Returns:

setStartTime

public void setStartTime(Time startTime)

isSunday

public boolean isSunday()
Description copied from interface: Meeting
Whether the CourseSection meets on Sundays.

Specified by:
isSunday in interface Meeting
Returns:

setSunday

public void setSunday(boolean sunday)

isThursday

public boolean isThursday()
Description copied from interface: Meeting
Whether the CourseSection meets on Thursdays.

Specified by:
isThursday in interface Meeting
Returns:

setThursday

public void setThursday(boolean thursday)

isTuesday

public boolean isTuesday()
Description copied from interface: Meeting
Whether the CourseSection meets on Tuesdays.

Specified by:
isTuesday in interface Meeting
Returns:

setTuesday

public void setTuesday(boolean tuesday)

isWednesday

public boolean isWednesday()
Description copied from interface: Meeting
Whether the CourseSection meets on Wednesdays.

Specified by:
isWednesday in interface Meeting
Returns:

setWednesday

public void setWednesday(boolean wednesday)


Copyright © 2011 Sakai Project. All Rights Reserved.