openfuture.bugbase.domain
Class User

java.lang.Object
  |
  +--openfuture.bugbase.domain.DomainObject
        |
        +--openfuture.bugbase.domain.Login
              |
              +--openfuture.bugbase.domain.User
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable

public class User
extends Login
implements java.lang.Comparable

User domain object.

Created: Fri Jun 09 03:45:47 2000

Version:
$Revision: 1.3 $
Author:
Wolfgang Reissenberger
See Also:
Serialized Form

Fields inherited from class openfuture.bugbase.domain.DomainObject
STATE_CLEAN, STATE_DELETED, STATE_DIRTY, STATE_NEW
 
Constructor Summary
User()
           
 
Method Summary
 int compareTo(java.lang.Object other)
          Compares this with another User object (total ordering) by user IDs.
 java.lang.String getEmail()
          Get the value of email.
 java.util.LinkedList getGroupList()
          Get the value of groupList.
 java.lang.String getName()
          Get the value of name.
 void setEmail(java.lang.String v)
          Set the value of email.
 void setGroupList(java.util.LinkedList v)
          Set the value of groupList.
 void setName(java.lang.String v)
          Set the value of name.
 java.lang.String toString()
          Returns getName(): <getEmail()>.
 
Methods inherited from class openfuture.bugbase.domain.Login
getPassword, getUserid, setPassword, setUserid
 
Methods inherited from class openfuture.bugbase.domain.DomainObject
getState, isDeleted, isDirty, isNew, setClean, setDirty, setModified, setState, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

User

public User()
Method Detail

getName

public java.lang.String getName()
Get the value of name.
Returns:
Value of name.

setName

public void setName(java.lang.String v)
Set the value of name.
Parameters:
v - Value to assign to name.

getEmail

public java.lang.String getEmail()
Get the value of email.
Returns:
Value of email.

setEmail

public void setEmail(java.lang.String v)
Set the value of email.
Parameters:
v - Value to assign to email.

getGroupList

public java.util.LinkedList getGroupList()
Get the value of groupList.
Returns:
Value of groupList.

setGroupList

public void setGroupList(java.util.LinkedList v)
Set the value of groupList.
Parameters:
v - Value to assign to groupList.

toString

public java.lang.String toString()
Returns getName(): <getEmail()>.
Overrides:
toString in class Login
Returns:
String representation

compareTo

public int compareTo(java.lang.Object other)
              throws java.lang.IllegalArgumentException
Compares this with another User object (total ordering) by user IDs.
Specified by:
compareTo in interface java.lang.Comparable
Parameters:
other - object to compare with
Returns:
1, if other is less than this or null, 0 if equal, -1 otherwise.
Throws:
java.lang.IllegalArgumentException - if other is not an instance of User


Copyright © 2000 -- 2003 openfuture.de. All Rights Reserved.