Class Permission

java.lang.Object
com.genologics.ri.permission.Permission
All Implemented Interfaces:
Linkable<Permission>, Locatable, Serializable

public class Permission extends Object implements Linkable<Permission>, Serializable
Since:
2.19
See Also:
  • Field Details

    • name

      protected String name
    • action

      protected String action
    • description

      protected String description
    • uri

      protected URI uri
  • Constructor Details

    • Permission

      public Permission()
    • Permission

      public Permission(URI uri)
    • Permission

      public Permission(URI uri, String name)
  • Method Details

    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getAction

      public String getAction()
    • setAction

      public void setAction(String action)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getUri

      public URI getUri()
      Description copied from interface: Locatable
      Get the URI of this object.
      Specified by:
      getUri in interface Locatable
      Returns:
      The URI.
    • setUri

      public void setUri(URI uri)
      Description copied from interface: Locatable
      Set the URI of this object.
      Specified by:
      setUri in interface Locatable
      Parameters:
      uri - The new URI.