org.sakaiproject.coursemanagement.impl
Class SectionCmImpl

java.lang.Object
  extended by org.sakaiproject.coursemanagement.impl.AbstractPersistentCourseManagementObjectCmImpl
      extended by org.sakaiproject.coursemanagement.impl.AbstractNamedCourseManagementObjectCmImpl
          extended by org.sakaiproject.coursemanagement.impl.AbstractMembershipContainerCmImpl
              extended by org.sakaiproject.coursemanagement.impl.SectionCmImpl
All Implemented Interfaces:
Serializable, Section

public class SectionCmImpl
extends AbstractMembershipContainerCmImpl
implements Section, Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.sakaiproject.coursemanagement.impl.AbstractNamedCourseManagementObjectCmImpl
description, eid, title
 
Fields inherited from class org.sakaiproject.coursemanagement.impl.AbstractPersistentCourseManagementObjectCmImpl
AUTHORITY, createdBy, createdDate, key, lastModifiedBy, lastModifiedDate, version
 
Constructor Summary
SectionCmImpl()
           
SectionCmImpl(String eid, String title, String description, String category, Section parent, CourseOffering courseOffering, EnrollmentSet enrollmentSet, Integer maxSize)
           
 
Method Summary
 String getCategory()
          A category for this Section.
 CourseOffering getCourseOffering()
           
 String getCourseOfferingEid()
          Gets the enterprise ID of the Section's containing CourseOffering.
 EnrollmentSet getEnrollmentSet()
          Gets the EnrollmentSet associated with this Section, if any.
 Integer getMaxSize()
          Gets maximum size allowed in a Section
 Set getMeetings()
          The meeting time for this section.
 Section getParent()
          Gets the parent Section for this Section, or null if this is not a subSection.
 void setCategory(String category)
           
 void setCourseOffering(CourseOffering courseOffering)
           
 void setEnrollmentSet(EnrollmentSet enrollmentSet)
           
 void setMaxSize(Integer maxSize)
           
 void setMeetings(Set meetings)
           
 void setParent(Section parent)
           
 
Methods inherited from class org.sakaiproject.coursemanagement.impl.AbstractMembershipContainerCmImpl
getMembers, setMembers
 
Methods inherited from class org.sakaiproject.coursemanagement.impl.AbstractNamedCourseManagementObjectCmImpl
getDescription, getEid, getTitle, setDescription, setEid, setTitle, toString
 
Methods inherited from class org.sakaiproject.coursemanagement.impl.AbstractPersistentCourseManagementObjectCmImpl
getAuthority, getCreatedBy, getCreatedDate, getKey, getLastModifiedBy, getLastModifiedDate, getVersion, setAuthority, setCreatedBy, setCreatedDate, setKey, setLastModifiedBy, setLastModifiedDate, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.sakaiproject.coursemanagement.api.Section
getAuthority, getDescription, getEid, getTitle, setAuthority, setDescription, setEid, setTitle
 

Constructor Detail

SectionCmImpl

public SectionCmImpl()

SectionCmImpl

public SectionCmImpl(String eid,
                     String title,
                     String description,
                     String category,
                     Section parent,
                     CourseOffering courseOffering,
                     EnrollmentSet enrollmentSet,
                     Integer maxSize)
Method Detail

getCategory

public String getCategory()
Description copied from interface: Section
A category for this Section. A category might be lecture, lab, discussion, or some other kind of classification.

Specified by:
getCategory in interface Section
Returns:

setCategory

public void setCategory(String category)
Specified by:
setCategory in interface Section

getCourseOffering

public CourseOffering getCourseOffering()

getCourseOfferingEid

public String getCourseOfferingEid()
Description copied from interface: Section
Gets the enterprise ID of the Section's containing CourseOffering.

Specified by:
getCourseOfferingEid in interface Section
Returns:

setCourseOffering

public void setCourseOffering(CourseOffering courseOffering)

getParent

public Section getParent()
Description copied from interface: Section
Gets the parent Section for this Section, or null if this is not a subSection.

Specified by:
getParent in interface Section
Returns:

setParent

public void setParent(Section parent)
Specified by:
setParent in interface Section

getEnrollmentSet

public EnrollmentSet getEnrollmentSet()
Description copied from interface: Section
Gets the EnrollmentSet associated with this Section, if any.

Specified by:
getEnrollmentSet in interface Section
Returns:

setEnrollmentSet

public void setEnrollmentSet(EnrollmentSet enrollmentSet)
Specified by:
setEnrollmentSet in interface Section

getMeetings

public Set getMeetings()
Description copied from interface: Section
The meeting time for this section.

Specified by:
getMeetings in interface Section
Returns:

setMeetings

public void setMeetings(Set meetings)
Specified by:
setMeetings in interface Section

getMaxSize

public Integer getMaxSize()
Description copied from interface: Section
Gets maximum size allowed in a Section

Specified by:
getMaxSize in interface Section
Returns:

setMaxSize

public void setMaxSize(Integer maxSize)
Specified by:
setMaxSize in interface Section


Copyright © 2011 Sakai Project. All Rights Reserved.