|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.directdemocracyportal.democracy.model.core.BaseEntity org.directdemocracyportal.democracy.model.application.Authority
@Entity public class Authority extends BaseEntity
The Class Authority.
Constructor and Description |
---|
Authority()
Instantiates a new authority. |
Authority(SecurityRoleType userRole)
Instantiates a new authority. |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getId()
Gets the id. |
SecurityRoleType |
getUserRole()
Gets the user role. |
void |
setId(java.lang.Long id)
Sets the id. |
void |
setUserRole(SecurityRoleType userRole)
Sets the user role. |
Methods inherited from class org.directdemocracyportal.democracy.model.core.BaseEntity |
---|
isNew |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Authority()
public Authority(SecurityRoleType userRole)
userRole
- the user roleMethod Detail |
---|
public java.lang.Long getId()
BaseEntity
getId
in class BaseEntity
public void setId(java.lang.Long id)
id
- the new idpublic SecurityRoleType getUserRole()
public void setUserRole(SecurityRoleType userRole)
userRole
- the new user role
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |