Class AuthorityPojo
- java.lang.Object
-
- org.drdeesw.commons.models.base.pojos.AbstractUniquePojo<ID>
-
- org.drdeesw.commons.models.base.pojos.AbstractNamedUniquePojo<java.lang.Long>
-
- org.drdeesw.commons.models.security.pojos.AuthorityPojo
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<NamedObject>,DataTransferObject,NamedObject,NamedUniqueObject<java.lang.Long>,UniquePojo<java.lang.Long>,UniqueObject<java.lang.Long>,Authority
public class AuthorityPojo extends AbstractNamedUniquePojo<java.lang.Long> implements Authority
Structured to work with JdbcUserDetailsManager.- Author:
- gary_kephart
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAuthorityPojo()HibernateprotectedAuthorityPojo(java.lang.Long id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAuthority()java.lang.StringgetUsername()voidsetAuthority(java.lang.String authority)voidsetUsername(java.lang.String username)-
Methods inherited from class org.drdeesw.commons.models.base.pojos.AbstractNamedUniquePojo
compareTo, equals, getName, hashCode, setName, toString, update
-
Methods inherited from class org.drdeesw.commons.models.base.pojos.AbstractUniquePojo
cast, equalsWithNullCheck, getId, setId, 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.UniqueObject
getId, setId
-
-
-
-
Method Detail
-
getAuthority
public java.lang.String getAuthority()
- Specified by:
getAuthorityin interfaceAuthority- Returns:
-
getUsername
public java.lang.String getUsername()
- Specified by:
getUsernamein interfaceAuthority- Returns:
-
setAuthority
public void setAuthority(java.lang.String authority)
- Specified by:
setAuthorityin interfaceAuthority
-
setUsername
public void setUsername(java.lang.String username)
- Specified by:
setUsernamein interfaceAuthority
-
-