Class RoleLink

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

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

    • name

      protected String name
    • uri

      protected URI uri
  • Constructor Details

    • RoleLink

      public RoleLink()
    • RoleLink

      public RoleLink(URI uri)
    • RoleLink

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

    • 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<Role>
      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<Role> 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<Role>
      Returns:
      The real object class.
    • toString

      public String toString()
      Overrides:
      toString in class Object