Skip navigation links


com.fatwire.services.beans.entity
Class UserBean

java.lang.Object
  extended by com.fatwire.services.beans.BaseBean
      extended by com.fatwire.services.beans.entity.UserBean

All Implemented Interfaces:
java.io.Serializable

public class UserBean
extends BaseBean

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.

See Also:
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

UserBean

public UserBean()

Method Detail

getId

public java.lang.String getId()
Returns the identifier of this user.
Returns:
the id of this user.

setId

public void setId(java.lang.String id)
Sets the unique identifier of this user.
Parameters:
id - the unique identifier for this user to set.

setName

public void setName(java.lang.String name)
Sets the name of this user.
Parameters:
name - the name of this user to set.

getName

public java.lang.String getName()
Returns the name of this user.
Returns:
the name of thsi user.

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

Skip navigation links


Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.