net.sf.oness.user.model.bo
Class User

java.lang.Object
  extended bynet.sf.oness.common.all.BaseObject
      extended bynet.sf.oness.user.model.bo.User
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class User
extends net.sf.oness.common.all.BaseObject

Version:
$Revision: 1.4 $
Author:
Carlos Sanchez
See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.sf.oness.common.all.BaseObject
log
 
Constructor Summary
User()
           
User(java.lang.String name, java.lang.String password, java.lang.Boolean enabled)
           
 
Method Summary
 java.util.Set getAuthorities()
           
 java.lang.String getName()
           
 java.lang.String getPassword()
           
 java.lang.Boolean isEnabled()
           
 void setAuthorities(java.util.Set authorities)
           
 void setEnabled(java.lang.Boolean enabled)
          Sets the enabled property, by default true.
 void setName(java.lang.String name)
           
 void setPassword(java.lang.String password)
           
 
Methods inherited from class net.sf.oness.common.all.BaseObject
clone, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

User

public User()

User

public User(java.lang.String name,
            java.lang.String password,
            java.lang.Boolean enabled)
Method Detail

setName

public void setName(java.lang.String name)

getName

public java.lang.String getName()
Returns:
String

setPassword

public void setPassword(java.lang.String password)

getPassword

public java.lang.String getPassword()
Returns:
String

setEnabled

public void setEnabled(java.lang.Boolean enabled)
Sets the enabled property, by default true.

Parameters:
enabled - if null, true is used

isEnabled

public java.lang.Boolean isEnabled()
Returns:
boolean

setAuthorities

public void setAuthorities(java.util.Set authorities)

getAuthorities

public java.util.Set getAuthorities()
Returns:
Set of Authority objects


Copyright © 2003-2005 ONess Project. All Rights Reserved.