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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEmail()The researcher's e-mail address.getFax()Convenience method for returning the full name of the researcher.getLab()Get the LIMS id for this object.getLink()Get a concrete link object to thisLimsEntityLinkableentity.getPhone()getUri()Get the URI of this object.Get a list of user defined fields held by the entity.static StringmakeFullName(String firstName, String lastName) Convenience method for making the full name of the researcher.voidsetCredentials(Credentials value) voidvoidvoidsetFirstName(String value) voidsetInitials(String value) voidvoidsetLastName(String value) voidSet the LIMS id for this object.voidvoidSet the URI of this object.setUserDefinedType(UDT value) setUserDefinedType(String type) toString()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
-
lastName
-
phone
-
fax
-
email
-
lab
-
type
-
fields
-
externalIds
-
credentials
-
initials
-
uri
-
-
Constructor Details
-
Researcher
public Researcher() -
Researcher
-
-
Method Details
-
getFirstName
-
setFirstName
-
getLastName
-
setLastName
-
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
-
setPhone
-
getFax
-
setFax
-
getEmail
The researcher's e-mail address.- Returns:
- The researcher's e-mail address.
-
setEmail
-
getLab
-
setLab
-
getUserDefinedType
-
setUserDefinedType
-
setUserDefinedType
-
getUserDefinedFields
Description copied from interface:UDFHolderGet a list of user defined fields held by the entity.- Specified by:
getUserDefinedFieldsin interfaceUDFHolder- Returns:
- A list of UDF objects. This should never return null.
-
getExternalIds
-
getCredentials
-
setCredentials
-
getInitials
-
setInitials
-
getUri
Description copied from interface:LocatableGet the URI of this object. -
setUri
Description copied from interface:LocatableSet the URI of this object. -
getLimsid
Description copied from interface:LimsEntityLinkableGet the LIMS id for this object.- Specified by:
getLimsidin interfaceLimsEntityLinkable<Researcher>- Returns:
- The LIMS id.
-
setLimsid
Description copied from interface:LimsEntityLinkableSet the LIMS id for this object.- Specified by:
setLimsidin interfaceLimsEntityLinkable<Researcher>- Parameters:
id- The new LIMS id.
-
toString
-
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.
-