Class ClarityProcess

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 Details

    • processType

      protected ProcessTypeLink processType
      The type of the process.
    • dateRun

      protected Date dateRun
      The date the process was run.
    • technician

      protected Technician technician
      The technician who ran the process.
    • inputOutputMaps

      protected List<InputOutputMap> inputOutputMaps
      The input-output mappings for the process.
    • type

      protected UDT type
      The user defined type.
    • fields

      protected List<UDF> fields
      The user defined fields.
    • files

      protected List<ClarityFile> files
      The files associated with the process.
    • protocolName

      protected String protocolName
      The protocol name.
    • instrument

      protected InstrumentLink instrument
      The instrument used to run the process.
    • parameter

      protected Parameter parameter
      The process parameter for external program integration.
    • limsid

      protected String limsid
      The LIMS id of the process.
    • uri

      protected URI uri
      The URI of the process.
  • Constructor Details

    • ClarityProcess

      public ClarityProcess()
      Default constructor.
    • ClarityProcess

      public ClarityProcess(URI uri)
      Constructor with URI.
      Parameters:
      uri - the URI of the process.
    • ClarityProcess

      public ClarityProcess(URI uri, String limsid)
      Constructor with URI and LIMS id.
      Parameters:
      uri - the URI of the process.
      limsid - the LIMS id of the process.
  • Method Details

    • getLimsid

      public String getLimsid()
      Gets the LIMS id.
      Specified by:
      getLimsid in interface LimsEntityLinkable<ClarityProcess>
      Returns:
      the LIMS id.
    • setLimsid

      public void setLimsid(String value)
      Sets the LIMS id.
      Specified by:
      setLimsid in interface LimsEntityLinkable<ClarityProcess>
      Parameters:
      value - the LIMS id to set.
    • getUri

      public URI getUri()
      Gets the URI.
      Specified by:
      getUri in interface Locatable
      Returns:
      the URI.
    • setUri

      public void setUri(URI value)
      Sets the URI.
      Specified by:
      setUri in interface Locatable
      Parameters:
      value - the URI to set.
    • getProcessType

      public ProcessTypeLink getProcessType()
      Gets the process type link.
      Returns:
      the process type link.
    • setProcessType

      public void setProcessType(Linkable<ProcessType> link)
      Sets the process type from a linkable object.
      Parameters:
      link - the linkable process type.
    • setProcessType

      public void setProcessType(ProcessType processType)
      Sets the process type.
      Parameters:
      processType - the process type to set.
    • getDateRun

      public Date getDateRun()
      Gets the date the process was run.
      Returns:
      the date the process was run.
    • setDateRun

      public void setDateRun(Date dateRun)
      Sets the date the process was run.
      Parameters:
      dateRun - the date to set.
    • getTechnician

      public Technician getTechnician()
      Gets the technician.
      Returns:
      the technician.
    • setTechnician

      public void setTechnician(Linkable<Researcher> link)
      Sets the technician from a linkable researcher.
      Parameters:
      link - the linkable researcher.
    • getInputOutputMaps

      public List<InputOutputMap> getInputOutputMaps()
      Gets the input-output mappings.
      Returns:
      the list of input-output mappings.
    • addInputOutputMap

      public InputOutputMap addInputOutputMap(InputOutputMap ioMap)
      Adds an input-output mapping.
      Parameters:
      ioMap - the input-output mapping to add.
      Returns:
      the added input-output mapping.
    • getUserDefinedType

      public UDT getUserDefinedType()
      Gets the user defined type.
      Returns:
      the user defined type.
    • setUserDefinedType

      public UDT setUserDefinedType(UDT type)
      Sets the user defined type.
      Parameters:
      type - the user defined type to set.
      Returns:
      the user defined type that was set.
    • setUserDefinedType

      public UDT setUserDefinedType(String type)
      Sets the user defined type by name.
      Parameters:
      type - the name of the user defined type.
      Returns:
      the created user defined type.
    • getUserDefinedFields

      public List<UDF> getUserDefinedFields()
      Gets the user defined fields.
      Specified by:
      getUserDefinedFields in interface UDFHolder
      Returns:
      the list of user defined fields.
    • getFiles

      public List<ClarityFile> getFiles()
      Gets the files associated with the process.
      Returns:
      the list of files.
    • addFile

      public ClarityFile addFile(ClarityFile f)
      Adds a file to the process.
      Parameters:
      f - the file to add.
      Returns:
      the added file.
    • getProtocolName

      public String getProtocolName()
      Gets the protocol name.
      Returns:
      the protocol name.
    • setProtocolName

      public void setProtocolName(String protocolName)
      Sets the protocol name.
      Parameters:
      protocolName - the protocol name to set.
    • getInstrument

      public InstrumentLink getInstrument()
      Gets the instrument link.
      Returns:
      the instrument link.
    • setInstrument

      public void setInstrument(Linkable<Instrument> link)
      Sets the instrument from a linkable object.
      Parameters:
      link - the linkable instrument.
    • getParameter

      public Parameter getParameter()
      Gets the parameter.
      Returns:
      the parameter.
    • setParameter

      public void setParameter(Parameter parameter)
      Sets the parameter.
      Parameters:
      parameter - the parameter to set.
    • toString

      public String toString()
      Returns a string representation of this process.
      Overrides:
      toString in class Object
      Returns:
      a string containing the LIMS id and process type name.
    • getLink

      public LimsEntityLink<ClarityProcess> getLink()
      Get a concrete link object to this LimsEntityLinkable entity. This definition simply narrows the type of links returned by classes that implement this interface, as they should all have corresponding LimsEntityLink link classes available.
      Specified by:
      getLink in interface LimsEntityLinkable<ClarityProcess>
      Specified by:
      getLink in interface Linkable<ClarityProcess>
      Returns:
      A LimsEntityLink to this object.