java.lang.Object
com.genologics.ri.process.ClarityProcess
- All Implemented Interfaces:
LimsEntity<ClarityProcess>,LimsEntityLinkable<ClarityProcess>,Linkable<ClarityProcess>,Locatable,UDFHolder,Serializable
public class ClarityProcess
extends Object
implements LimsEntity<ClarityProcess>, UDFHolder, Serializable
The detailed representation of a process.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DateThe date the process was run.The user defined fields.protected List<ClarityFile>The files associated with the process.protected List<InputOutputMap>The input-output mappings for the process.protected InstrumentLinkThe instrument used to run the process.protected StringThe LIMS id of the process.protected ParameterThe process parameter for external program integration.protected ProcessTypeLinkThe type of the process.protected StringThe protocol name.protected TechnicianThe technician who ran the process.protected UDTThe user defined type.protected URIThe URI of the process. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.ClarityProcess(URI uri) Constructor with URI.ClarityProcess(URI uri, String limsid) Constructor with URI and LIMS id. -
Method Summary
Modifier and TypeMethodDescriptionAdds a file to the process.addInputOutputMap(InputOutputMap ioMap) Adds an input-output mapping.Gets the date the process was run.getFiles()Gets the files associated with the process.Gets the input-output mappings.Gets the instrument link.Gets the LIMS id.getLink()Get a concrete link object to thisLimsEntityLinkableentity.Gets the parameter.Gets the process type link.Gets the protocol name.Gets the technician.getUri()Gets the URI.Gets the user defined fields.Gets the user defined type.voidsetDateRun(Date dateRun) Sets the date the process was run.voidsetInstrument(Linkable<Instrument> link) Sets the instrument from a linkable object.voidSets the LIMS id.voidsetParameter(Parameter parameter) Sets the parameter.voidsetProcessType(Linkable<ProcessType> link) Sets the process type from a linkable object.voidsetProcessType(ProcessType processType) Sets the process type.voidsetProtocolName(String protocolName) Sets the protocol name.voidsetTechnician(Linkable<Researcher> link) Sets the technician from a linkable researcher.voidSets the URI.setUserDefinedType(UDT type) Sets the user defined type.setUserDefinedType(String type) Sets the user defined type by name.toString()Returns a string representation of this process.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
-
processType
The type of the process. -
dateRun
The date the process was run. -
technician
The technician who ran the process. -
inputOutputMaps
The input-output mappings for the process. -
type
The user defined type. -
fields
The user defined fields. -
files
The files associated with the process. -
protocolName
The protocol name. -
instrument
The instrument used to run the process. -
parameter
The process parameter for external program integration. -
limsid
The LIMS id of the process. -
uri
The URI of the process.
-
-
Constructor Details
-
ClarityProcess
public ClarityProcess()Default constructor. -
ClarityProcess
Constructor with URI.- Parameters:
uri- the URI of the process.
-
ClarityProcess
Constructor with URI and LIMS id.- Parameters:
uri- the URI of the process.limsid- the LIMS id of the process.
-
-
Method Details
-
getLimsid
Gets the LIMS id.- Specified by:
getLimsidin interfaceLimsEntityLinkable<ClarityProcess>- Returns:
- the LIMS id.
-
setLimsid
Sets the LIMS id.- Specified by:
setLimsidin interfaceLimsEntityLinkable<ClarityProcess>- Parameters:
value- the LIMS id to set.
-
getUri
Gets the URI. -
setUri
Sets the URI. -
getProcessType
Gets the process type link.- Returns:
- the process type link.
-
setProcessType
Sets the process type from a linkable object.- Parameters:
link- the linkable process type.
-
setProcessType
Sets the process type.- Parameters:
processType- the process type to set.
-
getDateRun
Gets the date the process was run.- Returns:
- the date the process was run.
-
setDateRun
Sets the date the process was run.- Parameters:
dateRun- the date to set.
-
getTechnician
Gets the technician.- Returns:
- the technician.
-
setTechnician
Sets the technician from a linkable researcher.- Parameters:
link- the linkable researcher.
-
getInputOutputMaps
Gets the input-output mappings.- Returns:
- the list of input-output mappings.
-
addInputOutputMap
Adds an input-output mapping.- Parameters:
ioMap- the input-output mapping to add.- Returns:
- the added input-output mapping.
-
getUserDefinedType
Gets the user defined type.- Returns:
- the user defined type.
-
setUserDefinedType
Sets the user defined type.- Parameters:
type- the user defined type to set.- Returns:
- the user defined type that was set.
-
setUserDefinedType
Sets the user defined type by name.- Parameters:
type- the name of the user defined type.- Returns:
- the created user defined type.
-
getUserDefinedFields
Gets the user defined fields.- Specified by:
getUserDefinedFieldsin interfaceUDFHolder- Returns:
- the list of user defined fields.
-
getFiles
Gets the files associated with the process.- Returns:
- the list of files.
-
addFile
Adds a file to the process.- Parameters:
f- the file to add.- Returns:
- the added file.
-
getProtocolName
Gets the protocol name.- Returns:
- the protocol name.
-
setProtocolName
Sets the protocol name.- Parameters:
protocolName- the protocol name to set.
-
getInstrument
Gets the instrument link.- Returns:
- the instrument link.
-
setInstrument
Sets the instrument from a linkable object.- Parameters:
link- the linkable instrument.
-
getParameter
Gets the parameter.- Returns:
- the parameter.
-
setParameter
Sets the parameter.- Parameters:
parameter- the parameter to set.
-
toString
Returns a string representation of this process. -
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<ClarityProcess>- Specified by:
getLinkin interfaceLinkable<ClarityProcess>- Returns:
- A
LimsEntityLinkto this object.
-