Class Technician

java.lang.Object
com.genologics.ri.LimsLinkBase<Researcher>
com.genologics.ri.processtemplate.Technician
All Implemented Interfaces:
LimsLink<Researcher>, Linkable<Researcher>, Locatable, Serializable

public class Technician extends LimsLinkBase<Researcher>
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 Details

    • firstName

      protected String firstName
      The first name of the technician.
    • lastName

      protected String lastName
      The last name of the technician.
    • uri

      protected URI 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

      public Technician(URI uri)
      Constructs a new Technician with the specified URI.
      Parameters:
      uri - the URI of the technician resource
    • Technician

      public Technician(Linkable<Researcher> link)
      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

      public Technician(Researcher researcher)
      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

      public Class<Researcher> getEntityClass()
      Gets the entity class that this link references.
      Returns:
      the Researcher class
    • getFirstName

      public String getFirstName()
      Gets the first name of the technician.
      Returns:
      the first name
    • setFirstName

      public void setFirstName(String firstName)
      Sets the first name of the technician.
      Parameters:
      firstName - the first name to set
    • getLastName

      public String getLastName()
      Gets the last name of the technician.
      Returns:
      the last name
    • setLastName

      public void setLastName(String lastName)
      Sets the last name of the technician.
      Parameters:
      lastName - the last name to set
    • getFullName

      public String getFullName()
      Convenience method for returning the full name of the technician.
      Returns:
      The full name.
      Since:
      2.34.2
    • getUri

      public URI getUri()
      Gets the URI of this technician resource.
      Returns:
      the URI
    • setUri

      public void setUri(URI uri)
      Sets the URI of this technician resource.
      Parameters:
      uri - the URI to set
    • toString

      public String toString()
      Returns a string representation of this technician.
      Overrides:
      toString in class LimsLinkBase<Researcher>
      Returns:
      The researcher URI and name.
      See Also: