|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.fatwire.services.beans.BaseBean
com.fatwire.services.beans.entity.UserBean
public class UserBean
The UserBean represents the fundamental entity of the user. A user can exist independently. However, a user can gain access to a site only once roles are assigned to the user for that site. Both the name and the id of a user can serve as unique identifiers. The roles assigned to the user in a site governs the aspects of the application that user will have access to within the site. The UserBean is a value object used by services handling user-based operations.
SiteBean,
RoleBean,
Serialized Form| Constructor Summary | |
|---|---|
UserBean()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getId()
Returns the identifier of this user. |
java.lang.String |
getName()
Returns the name of this user. |
int |
hashCode()
|
void |
setId(java.lang.String id)
Sets the unique identifier of this user. |
void |
setName(java.lang.String name)
Sets the name of this user. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserBean()
| Method Detail |
|---|
public java.lang.String getId()
public void setId(java.lang.String id)
id - the unique identifier for this user to set.public void setName(java.lang.String name)
name - the name of this user to set.public java.lang.String getName()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||