Class Submitter

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

public class Submitter extends LimsLinkBase<Researcher>
Submitter is a child element of Sample and provides a URI linking to the detailed representation of the submitter for the Sample.
See Also:
  • Field Details

    • firstName

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

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

      protected URI uri
      The URI of the submitter.
  • Constructor Details

    • Submitter

      public Submitter()
      Constructor for an empty submitter.
    • Submitter

      public Submitter(URI uri)
      Constructor for a submitter with a URI.
      Parameters:
      uri - The URI of the submitter.
    • Submitter

      public Submitter(Linkable<Researcher> link)
      Constructor for a submitter from a linkable researcher.
      Parameters:
      link - The linkable researcher.
    • Submitter

      public Submitter(Researcher researcher)
      Constructor for a submitter from a researcher entity.
      Parameters:
      researcher - The researcher entity.
  • Method Details

    • getEntityClass

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

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

      public void setFirstName(String firstName)
      Sets the first name of the submitter.
      Parameters:
      firstName - The first name.
    • getLastName

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

      public void setLastName(String lastName)
      Sets the last name of the submitter.
      Parameters:
      lastName - The last name.
    • getFullName

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

      public URI getUri()
      Gets the URI of the submitter.
      Returns:
      The submitter URI.
    • setUri

      public void setUri(URI uri)
      Sets the URI of the submitter.
      Parameters:
      uri - The submitter URI.
    • toString

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