lib.jGroupware.users
Class User

java.lang.Object
  extended bylib.jGroupware.users.User

public class User
extends java.lang.Object

Bean to represent a jGroupware user

Author:
Gareth Webber

Constructor Summary
User(int id)
          Constructor for the User object
 
Method Summary
 java.lang.String getFirstname()
          Getter for property firstname.
 int getId()
          Getter for property id.
 java.util.Date getLastUsed()
          Getter for property lastUsed.
 java.lang.String getSurname()
          Getter for property surname.
 java.lang.String getUsername()
          Getter for property username.
 void setFirstname(java.lang.String firstname)
          Setter for property firstname.
 void setId(int id)
          Setter for property id.
 void setLastUsed(java.util.Date lastUsed)
          Setter for property lastUsed.
 void setSurname(java.lang.String surname)
          Setter for property surname.
 void setUsername(java.lang.String username)
          Setter for property username.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

User

public User(int id)
Constructor for the User object

Parameters:
id - Description of the Parameter
Method Detail

getId

public int getId()
Getter for property id.

Returns:
Value of property id.

setId

public void setId(int id)
Setter for property id.

Parameters:
id - New value of property id.

getUsername

public java.lang.String getUsername()
Getter for property username.

Returns:
Value of property username.

setUsername

public void setUsername(java.lang.String username)
Setter for property username.

Parameters:
username - New value of property username.

getFirstname

public java.lang.String getFirstname()
Getter for property firstname.

Returns:
Value of property firstname.

setFirstname

public void setFirstname(java.lang.String firstname)
Setter for property firstname.

Parameters:
firstname - New value of property firstname.

getSurname

public java.lang.String getSurname()
Getter for property surname.

Returns:
Value of property surname.

setSurname

public void setSurname(java.lang.String surname)
Setter for property surname.

Parameters:
surname - New value of property surname.

getLastUsed

public java.util.Date getLastUsed()
Getter for property lastUsed.

Returns:
Value of property lastUsed.

setLastUsed

public void setLastUsed(java.util.Date lastUsed)
Setter for property lastUsed.

Parameters:
lastUsed - New value of property lastUsed.