edu.mit.stellar.hibernate
Class User
java.lang.Object
edu.mit.stellar.hibernate.AbstractUser
edu.mit.stellar.hibernate.User
- All Implemented Interfaces:
- java.io.Serializable
- public class User
- extends AbstractUser
- implements java.io.Serializable
A class that represents a row in the 'O_USER' table. This class may be
customized as it is never re-generated after being created.
User has one-to-many relationship with CourseCollectionItem, ItemAnnotation,
and CourseCollectionAnnotation. (parent-child with this as parent).
- 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 |
User()
Simple constructor of User instances. |
User(java.lang.Long id)
Constructor of User instances given a simple primary key. |
User(java.lang.String name,
java.lang.String domain)
|
User(java.lang.String name,
java.lang.String domain,
java.lang.String userservice)
|
| Methods inherited from class edu.mit.stellar.hibernate.AbstractUser |
equals, getCourseCollectionAnnotationSet, getCourseCollectionItemSet, getCreatedOn, getDomain, getId, getItemAnnotationSet, getUsername, getUserService, hashCode, setCourseCollectionAnnotationSet, setCourseCollectionItemSet, setCreatedOn, setDomain, setId, setItemAnnotationSet, setUsername, setUserService |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
User
public User()
- Simple constructor of User instances.
User
public User(java.lang.Long id)
- Constructor of User instances given a simple primary key.
- Parameters:
id -
User
public User(java.lang.String name,
java.lang.String domain)
User
public User(java.lang.String name,
java.lang.String domain,
java.lang.String userservice)
addCourseCollectionItem
public void addCourseCollectionItem(CourseCollectionItem courseCollectionItem)
removeCourseCollectionItem
public void removeCourseCollectionItem(CourseCollectionItem courseCollectionItem)
addCourseCollectionAnnotation
public void addCourseCollectionAnnotation(CourseCollectionAnnotation courseCollectionAnnotation)
removeCourseCollectionAnnotation
public void removeCourseCollectionAnnotation(CourseCollectionAnnotation courseCollectionAnnotation)
addItemAnnotation
public void addItemAnnotation(ItemAnnotation itemAnnotation)
removeItemAnnotation
public void removeItemAnnotation(ItemAnnotation itemAnnotation)
Copyright 2005-2005-2006 MIT AMPS. All Rights Reserved.