public class RoleKeyData extends KeyData
RoleKey
,
Developer documentation: User authenticationModifier and Type | Field and Description |
---|---|
private java.lang.String |
description |
private int |
itemType |
private java.lang.String |
name |
private java.util.Map<RoleData,java.lang.Integer> |
roles |
Constructor and Description |
---|
RoleKeyData() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Get the description for the item.
|
int |
getItemType()
Get the code for the type of items this role key applies to.
|
java.lang.String |
getName()
Get the name of the role key.
|
java.util.Map<RoleData,java.lang.Integer> |
getRoles()
Get the map that manages which roles that have permissions
for this key.
|
void |
setDescription(java.lang.String description) |
void |
setItemType(int itemType) |
void |
setName(java.lang.String name) |
(package private) void |
setRoles(java.util.Map<RoleData,java.lang.Integer> roles) |
equals, getId, getVersion, hashCode, setId, setVersion, toString
private java.lang.String name
private java.lang.String description
private int itemType
private java.util.Map<RoleData,java.lang.Integer> roles
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getDescription()
String
with a description of the itempublic void setDescription(java.lang.String description)
public int getItemType()
Item
class for a list of constants.public void setItemType(int itemType)
public java.util.Map<RoleData,java.lang.Integer> getRoles()
void setRoles(java.util.Map<RoleData,java.lang.Integer> roles)