- All Implemented Interfaces:
LimsLink<Researcher>,Linkable<Researcher>,Locatable,Serializable
Technician is a child element of Step and provides a URI linking to the
detailed representation of the technician that ran the Step.
- Since:
- 2.34
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.Technician(Linkable<Researcher> technician) Constructor taking a linkable researcher.Technician(Researcher technician) Constructor taking a researcher.Technician(URI uri) Constructor taking a URI. -
Method Summary
Modifier and TypeMethodDescriptionGets the entity class for this link.Gets the first name of the technician.Convenience method for returning the full name of the technician.Gets the last name of the technician.getUri()Gets the URI of the researcher resource.voidsetFirstName(String firstName) Sets the first name of the technician.voidsetLastName(String lastName) Sets the last name of the technician.voidSets the URI of the researcher resource.toString()Returns a string representation of this technician.Methods inherited from class com.genologics.ri.LimsLinkBase
equals, hashCode
-
Field Details
-
firstName
The first name of the technician. -
lastName
The last name of the technician. -
uri
The URI of the researcher resource representing the technician.
-
-
Constructor Details
-
Technician
public Technician()Default constructor. -
Technician
Constructor taking a URI.- Parameters:
uri- The URI of the technician.
-
Technician
Constructor taking a linkable researcher.- Parameters:
technician- The linkable researcher representing the technician.- Throws:
NullPointerException- iftechnicianis null.
-
Technician
Constructor taking a researcher.- Parameters:
technician- The researcher representing the technician.- Throws:
NullPointerException- iftechnicianis null.
-
-
Method Details
-
getFirstName
Gets the first name of the technician.- Returns:
- The first name.
-
setFirstName
Sets the first name of the technician.- Parameters:
firstName- The first name.
-
getLastName
Gets the last name of the technician.- Returns:
- The last name.
-
setLastName
Sets the last name of the technician.- Parameters:
lastName- The last name.
-
getFullName
Convenience method for returning the full name of the technician.- Returns:
- The full name.
- Since:
- 2.34.2
-
getUri
Gets the URI of the researcher resource.- Returns:
- The URI.
-
setUri
Sets the URI of the researcher resource.- Parameters:
uri- The URI.
-
getEntityClass
Gets the entity class for this link.- Returns:
- The Researcher class.
-
toString
Returns a string representation of this technician.- Overrides:
toStringin classLimsLinkBase<Researcher>- Returns:
- The researcher URI and name.
- See Also:
-