java.lang.Object
com.genologics.ri.researcher.Researcher
- All Implemented Interfaces:
LimsEntity<Researcher>,LimsEntityLinkable<Researcher>,Linkable<Researcher>,Locatable,UDFHolder,Serializable
The detailed representation of a researcher.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CredentialsThe researcher's credentials.protected StringThe researcher's email address.protected List<ExternalId>The external identifiers for the researcher.protected StringThe researcher's fax number.The user-defined fields for the researcher.protected StringThe researcher's first name.protected StringThe researcher's initials.protected LabLinkLink to the researcher's lab.protected StringThe researcher's last name.protected StringThe researcher's phone number.protected UDTThe user-defined type for the researcher.protected URIThe URI to the researcher. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the researcher's credentials.getEmail()The researcher's e-mail address.Gets the list of external identifiers for the researcher.getFax()Gets the researcher's fax number.Gets the researcher's first name.Convenience method for returning the full name of the researcher.Gets the researcher's initials.getLab()Gets the link to the researcher's lab.Gets the researcher's last name.Gets the LIMS id from the URI.getLink()Get a concrete link object to thisLimsEntityLinkableentity.getPhone()Gets the researcher's phone number.getUri()Gets the URI to the researcher.Gets the list of user-defined fields for the researcher.Gets the user-defined type for the researcher.static StringmakeFullName(String firstName, String lastName) Convenience method for making the full name of the researcher.voidsetCredentials(Credentials value) Sets the researcher's credentials.voidSets the researcher's email address.voidSets the researcher's fax number.voidsetFirstName(String value) Sets the researcher's first name.voidsetInitials(String value) Sets the researcher's initials.voidSets the link to the researcher's lab.voidsetLastName(String value) Sets the researcher's last name.voidSets the LIMS id.voidSets the researcher's phone number.voidSets the URI to the researcher.setUserDefinedType(UDT value) Sets the user-defined type for the researcher.setUserDefinedType(String type) Sets the user-defined type for the researcher.toString()Gets a string representation of the researcher.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.genologics.ri.LimsEntityLinkable
getLimsId, setLimsIdMethods inherited from interface com.genologics.ri.userdefined.UDFHolder
getUDF, getUDF, getUDF, getUdfs, getUDFs, getUDFValue, getUDFValue, getUDFValue, getUDFValue, setUDF
-
Field Details
-
firstName
The researcher's first name. -
lastName
The researcher's last name. -
phone
The researcher's phone number. -
fax
The researcher's fax number. -
email
The researcher's email address. -
lab
Link to the researcher's lab. -
type
The user-defined type for the researcher. -
fields
The user-defined fields for the researcher. -
externalIds
The external identifiers for the researcher. -
credentials
The researcher's credentials. -
initials
The researcher's initials. -
uri
The URI to the researcher.
-
-
Constructor Details
-
Researcher
public Researcher()Default constructor. -
Researcher
Constructor with URI.- Parameters:
uri- The URI to the researcher.
-
-
Method Details
-
getFirstName
Gets the researcher's first name.- Returns:
- The first name.
-
setFirstName
Sets the researcher's first name.- Parameters:
value- The first name.
-
getLastName
Gets the researcher's last name.- Returns:
- The last name.
-
setLastName
Sets the researcher's last name.- Parameters:
value- The last name.
-
getFullName
Convenience method for returning the full name of the researcher.- Returns:
- The full name.
- Since:
- 2.31.2
- See Also:
-
makeFullName
Convenience method for making the full name of the researcher. Present as a static to allow reuse by some of the researcher link classes.- Parameters:
firstName- The researcher first name.lastName- The researcher last name.- Returns:
- First name <space> last name. If both names are null, returns null.
- Since:
- 2.31.2
-
getPhone
Gets the researcher's phone number.- Returns:
- The phone number.
-
setPhone
Sets the researcher's phone number.- Parameters:
value- The phone number.
-
getFax
Gets the researcher's fax number.- Returns:
- The fax number.
-
setFax
Sets the researcher's fax number.- Parameters:
value- The fax number.
-
getEmail
The researcher's e-mail address.- Returns:
- The researcher's e-mail address.
-
setEmail
Sets the researcher's email address.- Parameters:
value- The email address.
-
getLab
Gets the link to the researcher's lab.- Returns:
- The lab link.
-
setLab
Sets the link to the researcher's lab.- Parameters:
link- The linkable object containing the lab.
-
getUserDefinedType
Gets the user-defined type for the researcher.- Returns:
- The user-defined type.
-
setUserDefinedType
Sets the user-defined type for the researcher.- Parameters:
value- The user-defined type.- Returns:
- The user-defined type that was set.
-
setUserDefinedType
Sets the user-defined type for the researcher.- Parameters:
type- The name of the user-defined type.- Returns:
- The newly created user-defined type.
-
getUserDefinedFields
Gets the list of user-defined fields for the researcher.- Specified by:
getUserDefinedFieldsin interfaceUDFHolder- Returns:
- The list of user-defined fields.
-
getExternalIds
Gets the list of external identifiers for the researcher.- Returns:
- The list of external identifiers.
-
getCredentials
Gets the researcher's credentials.- Returns:
- The credentials.
-
setCredentials
Sets the researcher's credentials.- Parameters:
value- The credentials.
-
getInitials
Gets the researcher's initials.- Returns:
- The initials.
-
setInitials
Sets the researcher's initials.- Parameters:
value- The initials.
-
getUri
Gets the URI to the researcher. -
setUri
Sets the URI to the researcher. -
getLimsid
Gets the LIMS id from the URI.- Specified by:
getLimsidin interfaceLimsEntityLinkable<Researcher>- Returns:
- The LIMS id.
-
setLimsid
Sets the LIMS id. This operation does nothing for this entity.- Specified by:
setLimsidin interfaceLimsEntityLinkable<Researcher>- Parameters:
id- The LIMS id.
-
toString
Gets a string representation of the researcher. -
getLink
Get a concrete link object to thisLimsEntityLinkableentity. This definition simply narrows the type of links returned by classes that implement this interface, as they should all have correspondingLimsEntityLinklink classes available.- Specified by:
getLinkin interfaceLimsEntityLinkable<Researcher>- Specified by:
getLinkin interfaceLinkable<Researcher>- Returns:
- A
LimsEntityLinkto this object.
-