- All Implemented Interfaces:
LimsLink<Researcher>,Linkable<Researcher>,Locatable,Serializable
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructor for an empty submitter.Submitter(Linkable<Researcher> link) Constructor for a submitter from a linkable researcher.Submitter(Researcher researcher) Constructor for a submitter from a researcher entity.Constructor for a submitter with a URI. -
Method Summary
Modifier and TypeMethodDescriptionGets the entity class for this link.Gets the first name of the submitter.Convenience method for returning the full name of the submitter.Gets the last name of the submitter.getUri()Gets the URI of the submitter.voidsetFirstName(String firstName) Sets the first name of the submitter.voidsetLastName(String lastName) Sets the last name of the submitter.voidSets the URI of the submitter.toString()Returns a string representation of this submitter.Methods inherited from class com.genologics.ri.LimsLinkBase
equals, hashCode
-
Field Details
-
firstName
The first name of the submitter. -
lastName
The last name of the submitter. -
uri
The URI of the submitter.
-
-
Constructor Details
-
Submitter
public Submitter()Constructor for an empty submitter. -
Submitter
Constructor for a submitter with a URI.- Parameters:
uri- The URI of the submitter.
-
Submitter
Constructor for a submitter from a linkable researcher.- Parameters:
link- The linkable researcher.
-
Submitter
Constructor for a submitter from a researcher entity.- Parameters:
researcher- The researcher entity.
-
-
Method Details
-
getEntityClass
Gets the entity class for this link.- Returns:
- The Researcher class.
-
getFirstName
Gets the first name of the submitter.- Returns:
- The first name.
-
setFirstName
Sets the first name of the submitter.- Parameters:
firstName- The first name.
-
getLastName
Gets the last name of the submitter.- Returns:
- The last name.
-
setLastName
Sets the last name of the submitter.- Parameters:
lastName- The last name.
-
getFullName
Convenience method for returning the full name of the submitter.- Returns:
- The full name.
- Since:
- 2.34.2
-
getUri
Gets the URI of the submitter.- Returns:
- The submitter URI.
-
setUri
Sets the URI of the submitter.- Parameters:
uri- The submitter URI.
-
toString
Returns a string representation of this submitter.- Overrides:
toStringin classLimsLinkBase<Researcher>- Returns:
- The researcher URI and name.
- See Also:
-