edu.mit.stellar.hibernate
Class AbstractCourseCollectionItem

java.lang.Object
  extended byedu.mit.stellar.hibernate.AbstractCourseCollectionItem
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CourseCollectionItem

public abstract class AbstractCourseCollectionItem
extends java.lang.Object
implements java.io.Serializable

A class that represents a row in the COURSE_COLLECTION_ITEM table. You can customize the behavior of this class by editing the class, CourseCollectionItem().

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
AbstractCourseCollectionItem()
          Simple constructor of AbstractCourseCollectionItem instances.
AbstractCourseCollectionItem(java.lang.Long id)
          Constructor of AbstractCourseCollectionItem instances given a simple primary key.
 
Method Summary
 boolean equals(java.lang.Object rhs)
          Implementation of the equals comparison on the basis of equality of the primary key values.
 CourseCollection getCourseCollection()
          Return the value of the COURSE_COLLECTION_ID column.
 java.util.Date getCreatedOn()
          Return the value of the CREATED_ON column.
 java.lang.Long getId()
          Return the simple primary key value that identifies this object.
 Item getItem()
          Return the value of the ITEM_ID column.
 java.util.Set getItemAnnotationSet()
          Return the value of the COURSE_COLLECTION_ITEM_ID collection.
 java.lang.String getItemDescription()
          Return the value of the ITEM_DESCRIPTION column.
 java.lang.Long getItemOrder()
          Return the value of the ITEM_ORDER column.
 java.lang.String getItemSource()
          Return the value of the ITEM_SOURCE column.
 java.lang.String getItemTitle()
          Return the value of the ITEM_TITLE column.
 java.lang.String getName()
          Return the value of the NAME column.
 User getUser()
          Return the value of the CREATED_BY column.
 int hashCode()
          Implementation of the hashCode method conforming to the Bloch pattern with the exception of array properties (these are very unlikely primary key types).
 void setCourseCollection(CourseCollection courseCollection)
          Set the value of the COURSE_COLLECTION_ID column.
 void setCreatedOn(java.util.Date createdOn)
          Set the value of the CREATED_ON column.
 void setId(java.lang.Long id)
          Set the simple primary key value that identifies this object.
 void setItem(Item item)
          Set the value of the ITEM_ID column.
 void setItemAnnotationSet(java.util.Set itemAnnotationSet)
          Set the value of the COURSE_COLLECTION_ITEM_ID collection.
 void setItemDescription(java.lang.String itemDescription)
          Set the value of the ITEM_DESCRIPTION column.
 void setItemOrder(java.lang.Long itemOrder)
          Set the value of the ITEM_ORDER column.
 void setItemSource(java.lang.String itemSource)
          Set the value of the ITEM_SOURCE column.
 void setItemTitle(java.lang.String itemTitle)
          Set the value of the ITEM_TITLE column.
 void setName(java.lang.String name)
          Set the value of the NAME column.
 void setUser(User user)
          Set the value of the CREATED_BY column.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCourseCollectionItem

public AbstractCourseCollectionItem()
Simple constructor of AbstractCourseCollectionItem instances.


AbstractCourseCollectionItem

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

Parameters:
id -
Method Detail

getId

public java.lang.Long getId()
Return the simple primary key value that identifies this object.

Returns:
java.lang.Long

setId

public void setId(java.lang.Long id)
Set the simple primary key value that identifies this object.

Parameters:
id -

getCourseCollection

public CourseCollection getCourseCollection()
Return the value of the COURSE_COLLECTION_ID column.

Returns:
CourseCollection

setCourseCollection

public void setCourseCollection(CourseCollection courseCollection)
Set the value of the COURSE_COLLECTION_ID column.

Parameters:
courseCollection -

getItem

public Item getItem()
Return the value of the ITEM_ID column.

Returns:
Item

setItem

public void setItem(Item item)
Set the value of the ITEM_ID column.

Parameters:
item -

getName

public java.lang.String getName()
Return the value of the NAME column.

Returns:
java.lang.String

setName

public void setName(java.lang.String name)
Set the value of the NAME column.

Parameters:
name -

getCreatedOn

public java.util.Date getCreatedOn()
Return the value of the CREATED_ON column.

Returns:
java.util.Date

setCreatedOn

public void setCreatedOn(java.util.Date createdOn)
Set the value of the CREATED_ON column.

Parameters:
createdOn -

getUser

public User getUser()
Return the value of the CREATED_BY column.

Returns:
User

setUser

public void setUser(User user)
Set the value of the CREATED_BY column.


getItemTitle

public java.lang.String getItemTitle()
Return the value of the ITEM_TITLE column.

Returns:
java.lang.String

setItemTitle

public void setItemTitle(java.lang.String itemTitle)
Set the value of the ITEM_TITLE column.

Parameters:
itemTitle -

getItemDescription

public java.lang.String getItemDescription()
Return the value of the ITEM_DESCRIPTION column.

Returns:
java.lang.String

setItemDescription

public void setItemDescription(java.lang.String itemDescription)
Set the value of the ITEM_DESCRIPTION column.

Parameters:
itemDescription -

getItemOrder

public java.lang.Long getItemOrder()
Return the value of the ITEM_ORDER column.

Returns:
java.lang.Long

setItemOrder

public void setItemOrder(java.lang.Long itemOrder)
Set the value of the ITEM_ORDER column.

Parameters:
itemOrder -

getItemSource

public java.lang.String getItemSource()
Return the value of the ITEM_SOURCE column.

Returns:
java.lang.String

setItemSource

public void setItemSource(java.lang.String itemSource)
Set the value of the ITEM_SOURCE column.


getItemAnnotationSet

public java.util.Set getItemAnnotationSet()
Return the value of the COURSE_COLLECTION_ITEM_ID collection.

Returns:
ItemAnnotation

setItemAnnotationSet

public void setItemAnnotationSet(java.util.Set itemAnnotationSet)
Set the value of the COURSE_COLLECTION_ITEM_ID collection.

Parameters:
itemAnnotationSet -

equals

public boolean equals(java.lang.Object rhs)
Implementation of the equals comparison on the basis of equality of the primary key values.

Parameters:
rhs -
Returns:
boolean

hashCode

public int hashCode()
Implementation of the hashCode method conforming to the Bloch pattern with the exception of array properties (these are very unlikely primary key types).

Returns:
int


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