public class User extends AbstractPersistable
| Constructor and Description | 
|---|
| User(String username,
    String password)Constructs a new user object. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object obj)Checks whether this user is equal to the given one. | 
| String | getPassword()Gets the password. | 
| String | getUsername()Gets the username. | 
| int | hashCode()Computes the hash code for this object. | 
| void | setPassword(String password)Sets the password. | 
| void | setUsername(String username)Sets the username. | 
| String | toString()Returns a string describing this user information. | 
getId, setId, toXMLpublic boolean equals(Object obj)
equals in class AbstractPersistablepublic String getPassword()
public String getUsername()
public int hashCode()
hashCode in class AbstractPersistablepublic void setPassword(String password)
public void setUsername(String username)
Copyright © 2008-2012 Anders Møller & Mathias Schwarz.