|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.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 role| Method Detail |
|---|
public java.lang.Long getId()
BaseEntity
getId in class BaseEntitypublic 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 | |||||||||