Class GlobalToken

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

public class GlobalToken extends Object implements Linkable<GlobalToken>, Serializable
Clarity global token. There is currently no end point in Clarity, hence there is no @XmlRootElement annotation here. It will need to be added if there is an end point in a later release.
Since:
2.34
See Also:
  • Field Details

    • name

      protected String name
    • value

      protected String value
    • description

      protected String description
    • isCustom

      protected Boolean isCustom
    • uri

      protected URI uri
  • Constructor Details

    • GlobalToken

      public GlobalToken()
    • GlobalToken

      public GlobalToken(URI uri)
    • GlobalToken

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

    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getValue

      public String getValue()
    • setValue

      public void setValue(String value)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • isCustom

      public boolean isCustom()
    • setCustom

      public void setCustom(Boolean isCustom)
    • 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.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getLink

      public LimsLink<GlobalToken> getLink()
      Description copied from interface: Linkable
      Get a concrete link object to this Linkable thing.
      Specified by:
      getLink in interface Linkable<GlobalToken>
      Returns:
      A LimsLink to this object.