java.lang.Object
com.genologics.ri.permission.Permission
- All Implemented Interfaces:
Linkable<Permission>,Locatable,Serializable
The detailed representation of a permission.
- Since:
- 2.19
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.Permission(URI uri) Constructor with URI.Permission(URI uri, String name) Constructor with URI and name. -
Method Summary
Modifier and TypeMethodDescriptionGet the permission action.Get the permission description.getLink()Get a concrete link object to thisLinkablething.getName()Get the permission name.getUri()Get the URI of this object.voidSet the permission action.voidsetDescription(String description) Set the permission description.voidSet the permission name.voidSet the URI of this object.
-
Field Details
-
name
The permission name. -
action
The permission action. -
description
The permission description. -
uri
The URI of the permission.
-
-
Constructor Details
-
Permission
public Permission()Default constructor. -
Permission
Constructor with URI.- Parameters:
uri- The permission URI.
-
Permission
Constructor with URI and name.- Parameters:
uri- The permission URI.name- The permission name.
-
-
Method Details
-
getName
Get the permission name.- Returns:
- The permission name.
-
setName
Set the permission name.- Parameters:
name- The permission name.
-
getAction
Get the permission action.- Returns:
- The permission action.
-
setAction
Set the permission action.- Parameters:
action- The permission action.
-
getDescription
Get the permission description.- Returns:
- The permission description.
-
setDescription
Set the permission description.- Parameters:
description- The permission description.
-
getUri
Get the URI of this object. -
setUri
Set the URI of this object. -
getLink
Get a concrete link object to thisLinkablething.- Specified by:
getLinkin interfaceLinkable<Permission>- Returns:
- A
LimsLinkto this object.
-