- All Implemented Interfaces:
LimsLink<ControlType>,Linkable<ControlType>,Locatable,Serializable
Link to a control type within a process type configuration.
Provides a URI linking to the detailed representation of a control type,
along with its name.
- Since:
- 2.25
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new control type link.ControlTypeLink(ControlType controlType) Constructs a new control type link from a control type entity.ControlTypeLink(Linkable<ControlType> link) Constructs a new control type link from a linkable object.ControlTypeLink(URI uri) Constructs a new control type link with the specified URI.ControlTypeLink(URI uri, String name) Constructs a new control type link with the specified URI and name. -
Method Summary
Methods inherited from class com.genologics.ri.LimsLinkBase
equals, hashCode
-
Field Details
-
name
The name of the control type. -
uri
The URI of the control type.
-
-
Constructor Details
-
ControlTypeLink
public ControlTypeLink()Constructs a new control type link. -
ControlTypeLink
Constructs a new control type link with the specified URI.- Parameters:
uri- the URI of the control type.
-
ControlTypeLink
Constructs a new control type link with the specified URI and name.- Parameters:
uri- the URI of the control type.name- the name of the control type.
-
ControlTypeLink
Constructs a new control type link from a linkable object.- Parameters:
link- the linkable object providing the URI.
-
ControlTypeLink
Constructs a new control type link from a control type entity.- Parameters:
controlType- the control type entity.
-
-
Method Details
-
getUri
Gets the URI of the control type.- Returns:
- the control type URI.
-
setUri
Sets the URI of the control type.- Parameters:
uri- the control type URI.
-
getName
Gets the name of the control type.- Returns:
- the control type name.
-
setName
Sets the name of the control type.- Parameters:
name- the control type name.
-
getEntityClass
Gets the entity class for this link.- Returns:
- the ControlType class.
-
toString
Returns a string representation of this link.- Overrides:
toStringin classLimsLinkBase<ControlType>- Returns:
- The control type LIMS id and the name.
- See Also:
-