org.sakaiproject.coursemanagement.impl
Class CanonicalCourseCmImpl

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.CrossListableCmImpl
                  extended by org.sakaiproject.coursemanagement.impl.CanonicalCourseCmImpl
All Implemented Interfaces:
Serializable, CanonicalCourse

public class CanonicalCourseCmImpl
extends CrossListableCmImpl
implements CanonicalCourse, 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
CanonicalCourseCmImpl()
           
CanonicalCourseCmImpl(String eid, String title, String description)
           
 
Method Summary
 boolean equals(Object obj)
           
 Set getCourseSetEids()
          Gets the Set of course set EIDs that contain this canonical course.
 Set getCourseSets()
           
 CrossListingCmImpl getCrossListing()
           
 int hashCode()
           
 void setCourseSets(Set courseSets)
           
 void setCrossListing(CrossListingCmImpl crossListingCmImpl)
           
 
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, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.sakaiproject.coursemanagement.api.CanonicalCourse
getAuthority, getDescription, getEid, getTitle, setAuthority, setDescription, setEid, setTitle
 

Constructor Detail

CanonicalCourseCmImpl

public CanonicalCourseCmImpl()

CanonicalCourseCmImpl

public CanonicalCourseCmImpl(String eid,
                             String title,
                             String description)
Method Detail

getCourseSets

public Set getCourseSets()

setCourseSets

public void setCourseSets(Set courseSets)

getCrossListing

public CrossListingCmImpl getCrossListing()
Specified by:
getCrossListing in class CrossListableCmImpl

setCrossListing

public void setCrossListing(CrossListingCmImpl crossListingCmImpl)
Specified by:
setCrossListing in class CrossListableCmImpl

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getCourseSetEids

public Set getCourseSetEids()
Description copied from interface: CanonicalCourse
Gets the Set of course set EIDs that contain this canonical course.

Specified by:
getCourseSetEids in interface CanonicalCourse
Returns:


Copyright © 2011 Sakai Project. All Rights Reserved.