Class UserPojo
- java.lang.Object
-
- org.drdeesw.commons.models.base.pojos.AbstractUniquePojo<java.lang.Long>
-
- org.drdeesw.commons.models.base.pojos.AbstractLongUniquePojo
-
- org.drdeesw.commons.models.security.pojos.UserPojo
-
- All Implemented Interfaces:
java.io.Serializable,DataTransferObject,LongUniqueObject,UniquePojo<java.lang.Long>,UniqueObject<java.lang.Long>,User
public class UserPojo extends AbstractLongUniquePojo implements User
Structured to work with JdbcUserDetailsManager.- Author:
- gary_kephart
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.LonggetId()Returns the ID of the object.java.lang.StringgetUsername()The email address is the usernamebooleanisEnabled()voidsetEnabled(boolean enabled)voidsetUsername(java.lang.String email)-
Methods inherited from class org.drdeesw.commons.models.base.pojos.AbstractLongUniquePojo
update
-
Methods inherited from class org.drdeesw.commons.models.base.pojos.AbstractUniquePojo
cast, equals, equalsWithNullCheck, hashCode, setId, toString, update
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.drdeesw.commons.models.base.LongUniqueObject
setId
-
-
-
-
Method Detail
-
getId
public java.lang.Long getId()
Description copied from class:AbstractUniquePojoReturns the ID of the object.- Specified by:
getIdin interfaceUniqueObject<java.lang.Long>- Specified by:
getIdin interfaceUser- Overrides:
getIdin classAbstractUniquePojo<java.lang.Long>- Returns:
- the unique id of the object.
-
getUsername
public java.lang.String getUsername()
The email address is the username- Specified by:
getUsernamein interfaceUser- Returns:
-
setEnabled
public void setEnabled(boolean enabled)
- Specified by:
setEnabledin interfaceUser- Parameters:
enabled- the enabled to set
-
setUsername
public void setUsername(java.lang.String email)
- Specified by:
setUsernamein interfaceUser
-
-