java.lang.Object
com.genologics.ri.project.Project
- All Implemented Interfaces:
LimsEntity<Project>,LimsEntityLinkable<Project>,Linkable<Project>,Locatable,UDFHolder,Serializable
The detailed representation of a Project.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DateThe date the project was closed.protected List<ExternalId>The external identifiers for the project.The user-defined fields for the project.protected List<ClarityFile>The files attached to the project.protected DateThe date the project was invoiced.protected StringThe LIMS id of the project.protected StringThe name of the project.protected DateThe date the project was opened.protected StringThe priority of the project.protected ResearcherLinkThe researcher associated with the project.protected UDTThe user-defined type of the project.protected URIThe URI of the project. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdd a file to the project.Get the close date of the project.Get the external identifiers for the project.getFiles()Get the files attached to the project.Get the invoice date of the project.Get the LIMS id of the project.getLink()Get a concrete link object to thisLimsEntityLinkableentity.getName()Get the name of the project.Get the open date of the project.Get the priority of the project.Get the researcher associated with the project.getUri()Get the URI of the project.Get the user-defined fields for the project.Get the user-defined type of the project.voidsetCloseDate(Date closeDate) Set the close date of the project.voidsetInvoiceDate(Date invoiceDate) Set the invoice date of the project.voidSet the LIMS id of the project.voidSet the name of the project.voidsetOpenDate(Date openDate) Set the open date of the project.voidsetPriority(String priority) Set the priority of the project.voidsetResearcher(Linkable<Researcher> link) Set the researcher associated with the project.voidSet the URI of the project.setUserDefinedType(UDT value) Set the user-defined type of the project.setUserDefinedType(String type) Set the user-defined type of the project by name.toString()Return a string representation of the project.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
-
name
The name of the project. -
openDate
The date the project was opened. -
closeDate
The date the project was closed. -
invoiceDate
The date the project was invoiced. -
researcher
The researcher associated with the project. -
type
The user-defined type of the project. -
fields
The user-defined fields for the project. -
externalIds
The external identifiers for the project. -
files
The files attached to the project. -
priority
The priority of the project.- Since:
- 2.34
-
limsid
The LIMS id of the project. -
uri
The URI of the project.
-
-
Constructor Details
-
Project
public Project()Constructor for Project. -
Project
Constructor for Project with a URI.- Parameters:
uri- The URI of the project.
-
Project
Constructor for Project with a URI and LIMS id.- Parameters:
uri- The URI of the project.limsid- The LIMS id of the project.
-
-
Method Details
-
getName
Get the name of the project.- Returns:
- The project name.
-
setName
Set the name of the project.- Parameters:
value- The new project name.
-
getOpenDate
Get the open date of the project.- Returns:
- The open date.
-
setOpenDate
Set the open date of the project.- Parameters:
openDate- The new open date.
-
getCloseDate
Get the close date of the project.- Returns:
- The close date.
-
setCloseDate
Set the close date of the project.- Parameters:
closeDate- The new close date.
-
getInvoiceDate
Get the invoice date of the project.- Returns:
- The invoice date.
-
setInvoiceDate
Set the invoice date of the project.- Parameters:
invoiceDate- The new invoice date.
-
getResearcher
Get the researcher associated with the project.- Returns:
- The researcher link.
-
setResearcher
Set the researcher associated with the project.- Parameters:
link- The linkable researcher.
-
getUserDefinedType
Get the user-defined type of the project.- Returns:
- The user-defined type.
-
setUserDefinedType
Set the user-defined type of the project.- Parameters:
value- The new user-defined type.- Returns:
- The user-defined type that was set.
-
setUserDefinedType
Set the user-defined type of the project by name.- Parameters:
type- The name of the user-defined type.- Returns:
- The user-defined type that was created and set.
-
getUserDefinedFields
Get the user-defined fields for the project.- Specified by:
getUserDefinedFieldsin interfaceUDFHolder- Returns:
- The list of user-defined fields.
-
getExternalIds
Get the external identifiers for the project.- Returns:
- The list of external identifiers.
-
getFiles
Get the files attached to the project.- Returns:
- The list of files.
-
addFile
Add a file to the project.- Parameters:
f- The file to add.- Returns:
- The file that was added.
-
getPriority
Get the priority of the project.- Returns:
- The priority.
-
setPriority
Set the priority of the project.- Parameters:
priority- The new priority.
-
getLimsid
Get the LIMS id of the project.- Specified by:
getLimsidin interfaceLimsEntityLinkable<Project>- Returns:
- The LIMS id.
-
setLimsid
Set the LIMS id of the project.- Specified by:
setLimsidin interfaceLimsEntityLinkable<Project>- Parameters:
value- The new LIMS id.
-
getUri
Get the URI of the project. -
setUri
Set the URI of the project. -
toString
Return a string representation of the project. -
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.
-