public class Permission extends Object implements Serializable
OAuthAuthorizationData
,
Serialized FormConstructor and Description |
---|
Permission() |
Permission(String permission,
String description) |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Gets the permission description
|
String |
getPermission()
Get the permission value such as "read_calendar"
|
boolean |
isDefault() |
void |
setDefault(boolean value)
Indicates if this permission has been allocated by default or not.
|
void |
setDescription(String description)
Sets the permission description
|
void |
setPermission(String permission)
Sets the permission value such as "read_calendar"
|
public String getDescription()
public void setDescription(String description)
description
- public String getPermission()
public void setPermission(String permission)
permission
- the permission valuepublic void setDefault(boolean value)
isDefault
- true if the permission has been allocated by defaultpublic boolean isDefault()
Apache CXF