java.lang.Object
com.genologics.ri.globaltoken.GlobalToken
- All Implemented Interfaces:
Linkable<GlobalToken>,Locatable,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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.GlobalToken(URI uri) Constructor with URI.GlobalToken(URI uri, String name) Constructor with URI and name. -
Method Summary
Modifier and TypeMethodDescriptionGet the token description.getLink()Get a concrete link object to thisLinkablething.getName()Get the token name.getUri()Get the URI of this global token.getValue()Get the token value.booleanisCustom()Check whether this is a custom token.voidSet whether this is a custom token.voidsetDescription(String description) Set the token description.voidSet the token name.voidSet the URI of this global token.voidSet the token value.toString()Returns a string representation of this global token.
-
Field Details
-
name
The token name. -
value
The token value. -
description
The token description. -
isCustom
Flag indicating whether this is a custom token. -
uri
The URI of this global token.
-
-
Constructor Details
-
GlobalToken
public GlobalToken()Default constructor. -
GlobalToken
Constructor with URI.- Parameters:
uri- The URI of the global token.
-
GlobalToken
Constructor with URI and name.- Parameters:
uri- The URI of the global token.name- The token name.
-
-
Method Details
-
getName
Get the token name.- Returns:
- The token name.
-
setName
Set the token name.- Parameters:
name- The token name.
-
getValue
Get the token value.- Returns:
- The token value.
-
setValue
Set the token value.- Parameters:
value- The token value.
-
getDescription
Get the token description.- Returns:
- The token description.
-
setDescription
Set the token description.- Parameters:
description- The token description.
-
isCustom
public boolean isCustom()Check whether this is a custom token.- Returns:
- True if this is a custom token, false otherwise.
-
setCustom
Set whether this is a custom token.- Parameters:
isCustom- True if this is a custom token, false otherwise.
-
getUri
Get the URI of this global token. -
setUri
Set the URI of this global token. -
toString
Returns a string representation of this global token. -
getLink
Get a concrete link object to thisLinkablething.- Specified by:
getLinkin interfaceLinkable<GlobalToken>- Returns:
- A
LimsLinkto this object.
-