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