org.sakaiproject.api.section.coursemanagement
Interface CourseSection

All Superinterfaces:
LearningContext
All Known Implementing Classes:
CourseSectionImpl, CourseSectionImpl

public interface CourseSection
extends LearningContext

A subset of a Course that may meet at specific times during the week.

Author:
Josh Holtzman

Method Summary
 String getCategory()
          Gets the category ID of this CourseSection.
 Course getCourse()
          Gets the Course that this CourseSection belongs to
 Time getEndTime()
          Gets the time of day that this CourseSection's meeting(s) end.
 String getLocation()
          Gets the location where this CourseSection meets.
 Integer getMaxEnrollments()
          Gets the maximum number of enrollments allowed in this CourseSection.
 Time getStartTime()
          Gets the time of day that this CourseSection's meeting(s) start.
 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.
 
Methods inherited from interface org.sakaiproject.api.section.coursemanagement.LearningContext
getTitle, getUuid
 

Method Detail

getCourse

public Course getCourse()
Gets the Course that this CourseSection belongs to

Returns:

getLocation

public String getLocation()
Gets the location where this CourseSection meets.

Returns:

getCategory

public String getCategory()
Gets the category ID of this CourseSection. Students may be enrolled in only one section of a given category per Course.

Returns:

getMaxEnrollments

public Integer getMaxEnrollments()
Gets the maximum number of enrollments allowed in this CourseSection. Instructors and TAs may assign more than the maximum number of enrollments, but students may not self enroll in a section at or above the maximum number of enrollments.

Returns:

isMonday

public boolean isMonday()
Whether the CourseSection meets on Mondays.

Returns:

isTuesday

public boolean isTuesday()
Whether the CourseSection meets on Tuesdays.

Returns:

isWednesday

public boolean isWednesday()
Whether the CourseSection meets on Wednesdays.

Returns:

isThursday

public boolean isThursday()
Whether the CourseSection meets on Thursdays.

Returns:

isFriday

public boolean isFriday()
Whether the CourseSection meets on Fridays.

Returns:

isSaturday

public boolean isSaturday()
Whether the CourseSection meets on Saturdays.

Returns:

isSunday

public boolean isSunday()
Whether the CourseSection meets on Sundays.

Returns:

getStartTime

public Time getStartTime()
Gets the time of day that this CourseSection's meeting(s) start.

Returns:

getEndTime

public Time getEndTime()
Gets the time of day that this CourseSection's meeting(s) end.

Returns: