- All Implemented Interfaces:
LimsLink<Researcher>,Linkable<Researcher>,Locatable,Serializable
Technician is a child element of process-template and provides a URI linking
to the detailed representation of the technician that is configured to run a
Process created using this Process Template.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new Technician with default values.Technician(Linkable<Researcher> link) Constructs a new Technician from a linkable researcher object.Technician(Researcher researcher) Constructs a new Technician from a Researcher object, copying the URI, first name, and last name.Technician(URI uri) Constructs a new Technician with the specified URI. -
Method Summary
Modifier and TypeMethodDescriptionGets the entity class that this link references.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 this technician 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 this technician 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 linking to the detailed representation of this technician in the system.
-
-
Constructor Details
-
Technician
public Technician()Constructs a new Technician with default values. -
Technician
Constructs a new Technician with the specified URI.- Parameters:
uri- the URI of the technician resource
-
Technician
Constructs a new Technician from a linkable researcher object.- Parameters:
link- the linkable object containing the researcher URI- Throws:
NullPointerException- if link is null
-
Technician
Constructs a new Technician from a Researcher object, copying the URI, first name, and last name.- Parameters:
researcher- the researcher to copy details from- Throws:
NullPointerException- if researcher is null
-
-
Method Details
-
getEntityClass
Gets the entity class that this link references.- Returns:
- the Researcher class
-
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 to set
-
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 to set
-
getFullName
Convenience method for returning the full name of the technician.- Returns:
- The full name.
- Since:
- 2.34.2
-
getUri
Gets the URI of this technician resource.- Returns:
- the URI
-
setUri
Sets the URI of this technician resource.- Parameters:
uri- the URI to set
-
toString
Returns a string representation of this technician.- Overrides:
toStringin classLimsLinkBase<Researcher>- Returns:
- The researcher URI and name.
- See Also:
-