net.sf.oness.user.model.bo
Class User
java.lang.Object
net.sf.oness.common.all.BaseObject
net.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
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)
|
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 |
User
public User()
User
public User(java.lang.String name,
java.lang.String password,
java.lang.Boolean enabled)
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.