- All Implemented Interfaces:
LimsLink<ControlType>,Linkable<ControlType>,Locatable,Serializable
Control Type provides a name and a URI linking to the detailed representation
of the Control Type associated with the Sample. If a Control Type is
associated, the Sample will not have an associated Project.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructor for an empty control type link.ControlTypeLink(ControlType controlType) Constructor for a control type link from a control type entity.ControlTypeLink(Linkable<ControlType> link) Constructor for a control type link from a linkable control type.ControlTypeLink(URI uri) Constructor for a control type link with a URI.ControlTypeLink(URI uri, String name) Constructor for a control type link with a URI and name. -
Method Summary
Methods inherited from class com.genologics.ri.LimsLinkBase
equals, hashCode
-
Field Details
-
uri
The URI of the control type. -
name
The name of the control type.
-
-
Constructor Details
-
ControlTypeLink
public ControlTypeLink()Constructor for an empty control type link. -
ControlTypeLink
Constructor for a control type link with a URI.- Parameters:
uri- The URI of the control type.
-
ControlTypeLink
Constructor for a control type link with a URI and name.- Parameters:
uri- The URI of the control type.name- The name of the control type.
-
ControlTypeLink
Constructor for a control type link from a linkable control type.- Parameters:
link- The linkable control type.
-
ControlTypeLink
Constructor for a 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:
value- The control type URI.
-
getEntityClass
Gets the entity class for this link.- Returns:
- The ControlType class.
-
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.
-
toString
Returns a string representation of this link.- Overrides:
toStringin classLimsLinkBase<ControlType>- Returns:
- The control type LIMS id and the name.
- See Also:
-