Class PermissionLink

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

public class PermissionLink extends Object implements LimsLink<Permission>, Serializable
Permission-link is a child element type of permissions and provides a URI linking to the detailed representation of a Permission.
Since:
2.19
See Also:
  • Field Details

    • action

      protected String action
    • name

      protected String name
    • uri

      protected URI uri
  • Constructor Details

    • PermissionLink

      public PermissionLink()
    • PermissionLink

      public PermissionLink(URI uri)
    • PermissionLink

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

    • getAction

      public String getAction()
    • setAction

      public void setAction(String action)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getUri

      public URI getUri()
      Description copied from interface: LimsLink
      Get the URI of the object we are linking to.
      Specified by:
      getUri in interface LimsLink<Permission>
      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.
    • getEntityClass

      public Class<Permission> getEntityClass()
      Description copied from interface: LimsLink
      Get the class of the true, full LIMS entity this object links to.
      Specified by:
      getEntityClass in interface LimsLink<Permission>
      Returns:
      The real object class.