Class GlobalTokenLink

java.lang.Object
com.genologics.ri.globaltoken.GlobalTokenLink
All Implemented Interfaces:
LimsLink<GlobalToken>, Linkable<GlobalToken>, Locatable, Serializable

public class GlobalTokenLink extends Object implements LimsLink<GlobalToken>, Serializable
global-token-link is a child element type of global tokens and provides a URI linking to the detailed representation of a global token.
Since:
2.34
See Also:
  • Field Details

    • uri

      protected URI uri
    • name

      protected String name
  • Constructor Details

    • GlobalTokenLink

      public GlobalTokenLink()
    • GlobalTokenLink

      public GlobalTokenLink(URI uri)
    • GlobalTokenLink

      public GlobalTokenLink(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<GlobalToken>
      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<GlobalToken> 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<GlobalToken>
      Returns:
      The real object class.
    • toString

      public String toString()
      Overrides:
      toString in class Object