Class GlobalTokenLink

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

public class GlobalTokenLink extends LimsLinkBase<GlobalToken>
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
      The URI of the global token.
    • name

      protected String name
      The token name.
  • Constructor Details

    • GlobalTokenLink

      public GlobalTokenLink()
      Default constructor.
    • GlobalTokenLink

      public GlobalTokenLink(URI uri)
      Constructor with URI.
      Parameters:
      uri - The URI of the global token.
    • GlobalTokenLink

      public GlobalTokenLink(URI uri, String name)
      Constructor with URI and name.
      Parameters:
      uri - The URI of the global token.
      name - The token name.
  • Method Details

    • getName

      public String getName()
      Get the token name.
      Returns:
      The token name.
    • setName

      public void setName(String name)
      Set the token name.
      Parameters:
      name - The token name.
    • getUri

      public URI getUri()
      Get the URI of this global token.
      Returns:
      The URI.
    • setUri

      public void setUri(URI uri)
      Set the URI of this global token.
      Parameters:
      uri - The URI.
    • getEntityClass

      public Class<GlobalToken> getEntityClass()
      Get the class of the true, full LIMS entity this object links to.
      Returns:
      The real object class.