public class Role
extends java.lang.Object
| Constructor and Description |
|---|
Role()
Instantiates a new role.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<BasePermission> |
getBasePermissions()
Gets the base permissions.
|
java.lang.String |
getDescription()
Gets the description.
|
int |
getId()
Gets the id.
|
java.lang.String |
getName()
Gets the name.
|
int |
getOrder()
Gets the order.
|
RoleType |
getType()
Gets the type.
|
boolean |
isHidden()
Checks if is hidden.
|
void |
setDescription(java.lang.String description)
Sets the description.
|
void |
setName(java.lang.String name)
Sets the name.
|
void |
setOrder(int order)
Sets the order.
|
public java.util.List<BasePermission> getBasePermissions()
public java.lang.String getDescription()
public int getId()
public java.lang.String getName()
public int getOrder()
public RoleType getType()
public boolean isHidden()
public void setDescription(java.lang.String description)
description - the new descriptionpublic void setName(java.lang.String name)
name - the new namepublic void setOrder(int order)
order - the new order