Protocol-link is a child element type of workflow and provides a URI linking
to the detailed representation of a protocol.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.ProtocolLink(Linkable<Protocol> link) Constructor accepting a Linkable object.ProtocolLink(Protocol protocol) Constructor accepting a Protocol object.ProtocolLink(URI uri) Constructor accepting a URI.ProtocolLink(URI uri, String name) Constructor accepting a URI and name. -
Method Summary
Methods inherited from class com.genologics.ri.LimsLinkBase
equals, hashCode
-
Field Details
-
uri
The URI of the protocol. -
name
The name of the protocol.
-
-
Constructor Details
-
ProtocolLink
public ProtocolLink()Default constructor. -
ProtocolLink
Constructor accepting a URI.- Parameters:
uri- The protocol URI.
-
ProtocolLink
Constructor accepting a URI and name.- Parameters:
uri- The protocol URI.name- The protocol name.
-
ProtocolLink
Constructor accepting a Linkable object.- Parameters:
link- The linkable protocol object.
-
ProtocolLink
Constructor accepting a Protocol object.- Parameters:
protocol- The protocol to link to.
-
-
Method Details
-
getEntityClass
Gets the entity class for this link.- Returns:
- The Protocol class.
-
getUri
Gets the URI of the protocol.- Returns:
- The protocol URI.
-
setUri
Sets the URI of the protocol.- Parameters:
uri- The protocol URI.
-
getName
Gets the name of the protocol.- Returns:
- The protocol name.
-
setName
Sets the name of the protocol.- Parameters:
name- The protocol name.
-
toString
Returns a string representation of this protocol link.- Overrides:
toStringin classLimsLinkBase<Protocol>- Returns:
- The protocol URI and name.
- See Also:
-