openfuture.bugbase.domain
Class Login

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

public class Login
extends DomainObject

Login data object. Created: Sun Jun 25 08:41:38 2000

Version:
$Revision: 1.4 $
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
Login()
          Empty constructor.
Login(java.lang.String userid)
          Creates a new login for a given user ID with empty password
Login(java.lang.String userid, java.lang.String password)
          Creates a new login for a given user ID and password.
 
Method Summary
 java.lang.String getPassword()
          Get the value of password.
 java.lang.String getUserid()
          Get the value of userid.
 void setPassword(java.lang.String v)
          Set the value of password.
 void setUserid(java.lang.String v)
          Set the value of userid.
 java.lang.String toString()
          String representation of the login data.
 
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

Login

public Login()
Empty constructor.

Login

public Login(java.lang.String userid)
Creates a new login for a given user ID with empty password
Parameters:
userid - user ID

Login

public Login(java.lang.String userid,
             java.lang.String password)
Creates a new login for a given user ID and password.
Parameters:
userid - user ID
Method Detail

getUserid

public java.lang.String getUserid()
Get the value of userid.
Returns:
Value of userid.

setUserid

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

getPassword

public java.lang.String getPassword()
Get the value of password.
Returns:
Value of password.

setPassword

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

toString

public java.lang.String toString()
String representation of the login data.
Overrides:
toString in class java.lang.Object
Returns:
userid="", password=""


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