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 thisLimsEntityLinkable
entity.getPhone()
getUri()
Get the URI of this object.Get a list of user defined fields held by the entity.static String
makeFullName
(String firstName, String lastName) Convenience method for making the full name of the researcher.void
setCredentials
(Credentials value) void
void
void
setFirstName
(String value) void
setInitials
(String value) void
void
setLastName
(String value) void
Set the LIMS id for this object.void
void
Set 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, wait
Methods inherited from interface com.genologics.ri.LimsEntityLinkable
getLimsId, setLimsId
Methods 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:UDFHolder
Get a list of user defined fields held by the entity.- Specified by:
getUserDefinedFields
in interfaceUDFHolder
- Returns:
- A list of UDF objects. This should never return null.
-
getExternalIds
-
getCredentials
-
setCredentials
-
getInitials
-
setInitials
-
getUri
Description copied from interface:Locatable
Get the URI of this object. -
setUri
Description copied from interface:Locatable
Set the URI of this object. -
getLimsid
Description copied from interface:LimsEntityLinkable
Get the LIMS id for this object.- Specified by:
getLimsid
in interfaceLimsEntityLinkable<Researcher>
- Returns:
- The LIMS id.
-
setLimsid
Description copied from interface:LimsEntityLinkable
Set the LIMS id for this object.- Specified by:
setLimsid
in interfaceLimsEntityLinkable<Researcher>
- Parameters:
id
- The new LIMS id.
-
toString
-
getLink
Get a concrete link object to thisLimsEntityLinkable
entity. This definition simply narrows the type of links returned by classes that implement this interface, as they should all have correspondingLimsEntityLink
link classes available.- Specified by:
getLink
in interfaceLimsEntityLinkable<Researcher>
- Specified by:
getLink
in interfaceLinkable<Researcher>
- Returns:
- A
LimsEntityLink
to this object.
-