public class SimpleRole extends Object implements Role<Permission>
| Constructor and Description |
|---|
SimpleRole() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Returns the field
description. |
Set<Permission> |
getPermissions()
Gets the access rights.
|
String |
getRolename()
Gets the name.
|
void |
setDescription(String description)
Sets the field
description. |
void |
setPermissions(Set<Permission> permissions)
Sets the permissions.
|
void |
setRolename(String name)
Sets the name.
|
public Set<Permission> getPermissions()
getPermissions in interface Role<Permission>Role.getPermissions()public String getDescription()
description.getDescription in interface Role<Permission>description.public String getRolename()
getRolename in interface Role<Permission>Role.getRolename()public void setDescription(String description)
description.setDescription in interface Role<Permission>description - The description to setpublic void setRolename(String name)
setRolename in interface Role<Permission>name - the new name.public void setPermissions(Set<Permission> permissions)
RolesetPermissions in interface Role<Permission>permissions - the new access rights.Copyright © 2007–2015 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.