public class User extends Object implements Serializable
© Copyright 2006, Sans Pareil Technologies, Inc.
| Modifier and Type | Field and Description |
|---|---|
Collection<Group> |
groups
The collection of groups to which this user belongs.
|
static int |
HASH
The default value for hash code.
|
char[] |
password
The password of the user.
|
String |
userName
The userName of the user.
|
| Constructor and Description |
|---|
User(String userName,
char[] password,
Collection<Group> groups)
Create a new instance using the specified values.
|
User(String userName,
String password,
Collection<Group> groups)
Create a new instance using the specified values.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object)
Compares the specified object with this instance for equality.
|
int |
hashCode()
Calculate a hash code for the object.
|
public final String userName
public final transient char[] password
public final Collection<Group> groups
public static final int HASH
public User(String userName, String password, Collection<Group> groups)
public boolean equals(Object object)