edu.mit.stellar.hibernate
Class AbstractUser

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

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

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

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
AbstractUser()
          Simple constructor of AbstractUser instances.
AbstractUser(java.lang.Long id)
          Constructor of AbstractUser 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.
 java.util.Set getCourseCollectionAnnotationSet()
          Return the value of the CREATED_BY collection.
 java.util.Set getCourseCollectionItemSet()
          Return the value of the CREATED_BY collection.
 java.util.Date getCreatedOn()
          Return the value of the CREATED_ON column.
 java.lang.String getDomain()
          Return the value of the DOMAIN column.
 java.lang.Long getId()
          Return the simple primary key value that identifies this object.
 java.util.Set getItemAnnotationSet()
          Return the value of the CREATED_BY collection.
 java.lang.String getUsername()
          Return the value of the USERNAME column.
 java.lang.String getUserService()
          Return the value of the USER_SERVICE 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 setCourseCollectionAnnotationSet(java.util.Set courseCollectionAnnotationSet)
          Set the value of the CREATED_BY collection.
 void setCourseCollectionItemSet(java.util.Set courseCollectionItemSet)
          Set the value of the CREATED_BY collection.
 void setCreatedOn(java.util.Date createdOn)
          Set the value of the CREATED_ON column.
 void setDomain(java.lang.String domain)
          Set the value of the DOMAIN column.
 void setId(java.lang.Long id)
          Set the simple primary key value that identifies this object.
 void setItemAnnotationSet(java.util.Set itemAnnotationSet)
          Set the value of the CREATED_BY collection.
 void setUsername(java.lang.String username)
          Set the value of the USERNAME column.
 void setUserService(java.lang.String userService)
          Set the value of the USER_SERVICE column.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractUser

public AbstractUser()
Simple constructor of AbstractUser instances.


AbstractUser

public AbstractUser(java.lang.Long id)
Constructor of AbstractUser 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 -

getUsername

public java.lang.String getUsername()
Return the value of the USERNAME column.

Returns:
java.lang.String

setUsername

public void setUsername(java.lang.String username)
Set the value of the USERNAME column.

Parameters:
username -

getDomain

public java.lang.String getDomain()
Return the value of the DOMAIN column.

Returns:
java.lang.String

setDomain

public void setDomain(java.lang.String domain)
Set the value of the DOMAIN column.

Parameters:
domain -

getUserService

public java.lang.String getUserService()
Return the value of the USER_SERVICE column.

Returns:
java.lang.String

setUserService

public void setUserService(java.lang.String userService)
Set the value of the USER_SERVICE column.

Parameters:
userService -

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 -

getCourseCollectionAnnotationSet

public java.util.Set getCourseCollectionAnnotationSet()
Return the value of the CREATED_BY collection.

Returns:
CourseCollectionAnnotation

setCourseCollectionAnnotationSet

public void setCourseCollectionAnnotationSet(java.util.Set courseCollectionAnnotationSet)
Set the value of the CREATED_BY collection.

Parameters:
courseCollectionAnnotationSet -

getCourseCollectionItemSet

public java.util.Set getCourseCollectionItemSet()
Return the value of the CREATED_BY collection.

Returns:
CourseCollectionItem

setCourseCollectionItemSet

public void setCourseCollectionItemSet(java.util.Set courseCollectionItemSet)
Set the value of the CREATED_BY collection.

Parameters:
courseCollectionItemSet -

getItemAnnotationSet

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

Returns:
ItemAnnotation

setItemAnnotationSet

public void setItemAnnotationSet(java.util.Set itemAnnotationSet)
Set the value of the CREATED_BY 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.