edu.mit.stellar.hibernate
Class CourseCollection

java.lang.Object
  extended byedu.mit.stellar.hibernate.AbstractCourseCollection
      extended byedu.mit.stellar.hibernate.CourseCollection
All Implemented Interfaces:
java.io.Serializable

public class CourseCollection
extends AbstractCourseCollection
implements java.io.Serializable

A class that represents a row in the 'COURSE_COLLECTION' table. This class may be customized as it is never re-generated after being created. CourseCollection has one-to-many relationship with CourseCollectionItem, CourseCollectionPage, and CourseCollectionAnnotation. (parent-child with this as parent). CourseCollection has many-to-one relationship with NexusInfo. (parent-child with this as child).

Version:
$Revision: 1385 $, $Date: 2006-08-11 18:43:20 -0400 (Fri, 11 Aug 2006) $
Author:
MIT Stellar team
See Also:
Serialized Form

Constructor Summary
CourseCollection()
          Simple constructor of CourseCollection instances.
CourseCollection(java.lang.Long id)
          Constructor of CourseCollection instances given a simple primary key.
CourseCollection(java.lang.String name, java.lang.String description, NexusInfo nexusInfo, java.lang.Long type)
           
 
Method Summary
 void addCourseCollectionAnnotation(CourseCollectionAnnotation courseCollectionAnnotation)
           
 void addCourseCollectionItem(CourseCollectionItem courseCollectionItem)
           
 void addCourseCollectionPage(CourseCollectionPage courseCollectionPage)
           
 void removeCourseCollectionAnnotation(CourseCollectionAnnotation courseCollectionAnnotation)
           
 void removeCourseCollectionItem(CourseCollectionItem courseCollectionItem)
           
 void removeCourseCollectionPage(CourseCollectionPage courseCollectionPage)
           
 
Methods inherited from class edu.mit.stellar.hibernate.AbstractCourseCollection
equals, getCourseCollectionAnnotationSet, getCourseCollectionItemSet, getCourseCollectionPageSet, getCreatedOn, getDescription, getId, getName, getNexusInfo, getType, hashCode, setCourseCollectionAnnotationSet, setCourseCollectionItemSet, setCourseCollectionPageSet, setCreatedOn, setDescription, setId, setName, setNexusInfo, setType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CourseCollection

public CourseCollection()
Simple constructor of CourseCollection instances.


CourseCollection

public CourseCollection(java.lang.Long id)
Constructor of CourseCollection instances given a simple primary key.

Parameters:
id -

CourseCollection

public CourseCollection(java.lang.String name,
                        java.lang.String description,
                        NexusInfo nexusInfo,
                        java.lang.Long type)
Method Detail

addCourseCollectionItem

public void addCourseCollectionItem(CourseCollectionItem courseCollectionItem)

removeCourseCollectionItem

public void removeCourseCollectionItem(CourseCollectionItem courseCollectionItem)

addCourseCollectionPage

public void addCourseCollectionPage(CourseCollectionPage courseCollectionPage)

removeCourseCollectionPage

public void removeCourseCollectionPage(CourseCollectionPage courseCollectionPage)

addCourseCollectionAnnotation

public void addCourseCollectionAnnotation(CourseCollectionAnnotation courseCollectionAnnotation)

removeCourseCollectionAnnotation

public void removeCourseCollectionAnnotation(CourseCollectionAnnotation courseCollectionAnnotation)


Copyright 2005-2005-2006 MIT AMPS. All Rights Reserved.