net.sourceforge.stripes.examples.bugzooky.biz
Class Person

java.lang.Object
  extended by net.sourceforge.stripes.examples.bugzooky.biz.Person

public class Person
extends Object

Represents a person to whom bugs can be assigned.

Author:
Tim Fennell

Constructor Summary
Person()
          Default constructor.
Person(String username, String password, String first, String last, String email)
          Constructs a well formed person.
 
Method Summary
 boolean equals(Object obj)
          Equality is determined to be when the ID numbers match.
 String getEmail()
          Gets the person's email address.
 String getFirstName()
          Gets the first name of the person.
 Integer getId()
          Gets the ID of the person.
 String getLastName()
          Gets the last name of the person.
 String getPassword()
          Gets the person's unencrypted password.
 String getUsername()
          Gets the username of the person.
 void setEmail(String email)
          Sets the person's email address.
 void setFirstName(String firstName)
          Sets the first name of the user.
 void setId(Integer id)
          Sets the ID of the person.
 void setLastName(String lastName)
          Sets the last name of the user.
 void setPassword(String password)
          Sets the person's unencrypted password.
 void setUsername(String username)
          Sets the username of the user.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Person

public Person()
Default constructor.


Person

public Person(String username,
              String password,
              String first,
              String last,
              String email)
Constructs a well formed person.

Method Detail

getId

public Integer getId()
Gets the ID of the person.


setId

public void setId(Integer id)
Sets the ID of the person.


getUsername

public String getUsername()
Gets the username of the person.


setUsername

public void setUsername(String username)
Sets the username of the user.


getFirstName

public String getFirstName()
Gets the first name of the person.


setFirstName

public void setFirstName(String firstName)
Sets the first name of the user.


getLastName

public String getLastName()
Gets the last name of the person.


setLastName

public void setLastName(String lastName)
Sets the last name of the user.


getEmail

public String getEmail()
Gets the person's email address.


setEmail

public void setEmail(String email)
Sets the person's email address.


getPassword

public String getPassword()
Gets the person's unencrypted password.


setPassword

public void setPassword(String password)
Sets the person's unencrypted password.


equals

public boolean equals(Object obj)
Equality is determined to be when the ID numbers match.

Overrides:
equals in class Object


© Copyright 2005, Stripes Development Team.