edu.mit.stellar.hibernate
Class CourseCollectionItem
java.lang.Object
edu.mit.stellar.hibernate.AbstractCourseCollectionItem
edu.mit.stellar.hibernate.CourseCollectionItem
- All Implemented Interfaces:
- java.io.Serializable
- public class CourseCollectionItem
- extends AbstractCourseCollectionItem
- implements java.io.Serializable
A class that represents a row in the 'COURSE_COLLECTION_ITEM' table. This
class may be customized as it is never re-generated after being created.
CourseCollectionItem has one-to-many relationship with ItemAnnotation.
(parent-child with this as parent). CourseCollectionItem has many-to-one
relationship with Item, User, and CourseCollection. (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
| Methods inherited from class edu.mit.stellar.hibernate.AbstractCourseCollectionItem |
equals, getCourseCollection, getCreatedOn, getId, getItem, getItemAnnotationSet, getItemDescription, getItemOrder, getItemSource, getItemTitle, getName, getUser, hashCode, setCourseCollection, setCreatedOn, setId, setItem, setItemAnnotationSet, setItemDescription, setItemOrder, setItemSource, setItemTitle, setName, setUser |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
CourseCollectionItem
public CourseCollectionItem()
- Simple constructor of CourseCollectionItem instances.
CourseCollectionItem
public CourseCollectionItem(java.lang.Long id)
- Constructor of CourseCollectionItem instances given a simple primary key.
- Parameters:
id -
CourseCollectionItem
public CourseCollectionItem(User user,
CourseCollection courseCollection,
Item item)
updateCourseColletionItemInfo
public void updateCourseColletionItemInfo(java.lang.String title,
java.lang.String description)
addItemAnnotation
public void addItemAnnotation(ItemAnnotation itemAnnotation)
removeItemAnnotation
public void removeItemAnnotation(ItemAnnotation itemAnnotation)
Copyright 2005-2005-2006 MIT AMPS. All Rights Reserved.