org.sakaiproject.coursemanagement.impl
Class CourseSetCmImpl

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.CourseSetCmImpl
All Implemented Interfaces:
Serializable, CourseSet

public class CourseSetCmImpl
extends AbstractMembershipContainerCmImpl
implements CourseSet, 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
CourseSetCmImpl()
           
CourseSetCmImpl(String eid, String title, String description, String category, CourseSet parent)
           
 
Method Summary
 Set<CanonicalCourse> getCanonicalCourses()
           
 String getCategory()
          A category
 Set<CourseOffering> getCourseOfferings()
           
 CourseSet getParent()
          Gets the parent CourseSet for this CourseSet, or null if this is a top-level CourseSet.
 void setCanonicalCourses(Set<CanonicalCourse> canonicalCourses)
           
 void setCategory(String category)
           
 void setCourseOfferings(Set<CourseOffering> courseOfferings)
           
 void setParent(CourseSet 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.CourseSet
getAuthority, getDescription, getEid, getTitle, setAuthority, setDescription, setEid, setTitle
 

Constructor Detail

CourseSetCmImpl

public CourseSetCmImpl()

CourseSetCmImpl

public CourseSetCmImpl(String eid,
                       String title,
                       String description,
                       String category,
                       CourseSet parent)
Method Detail

getParent

public CourseSet getParent()
Description copied from interface: CourseSet
Gets the parent CourseSet for this CourseSet, or null if this is a top-level CourseSet.

Specified by:
getParent in interface CourseSet
Returns:

setParent

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

getCanonicalCourses

public Set<CanonicalCourse> getCanonicalCourses()

setCanonicalCourses

public void setCanonicalCourses(Set<CanonicalCourse> canonicalCourses)

getCourseOfferings

public Set<CourseOffering> getCourseOfferings()

setCourseOfferings

public void setCourseOfferings(Set<CourseOffering> courseOfferings)

getCategory

public String getCategory()
Description copied from interface: CourseSet
A category

Specified by:
getCategory in interface CourseSet
Returns:

setCategory

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


Copyright © 2011 Sakai Project. All Rights Reserved.