Class ExecutableProcess

java.lang.Object
com.genologics.ri.processexecution.ExecutableProcess
All Implemented Interfaces:
UDFHolder, Serializable

public class ExecutableProcess extends Object implements UDFHolder, Serializable
The process element defines the XML needed to run a process.
See Also:
  • Field Details

    • processType

      protected String processType
      The process type name.
    • dateRun

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

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

      protected List<ExecutableInputOutputMap> 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.
    • instrument

      protected InstrumentLink instrument
      The instrument used for the process.
    • parameter

      protected Parameter parameter
      The process parameter for external program integration.
  • Constructor Details

    • ExecutableProcess

      public ExecutableProcess()
      Default constructor.
    • ExecutableProcess

      public ExecutableProcess(String processType)
      Constructor with process type.
      Parameters:
      processType - The process type name.
    • ExecutableProcess

      public ExecutableProcess(String processType, Linkable<Researcher> technician)
      Constructor with process type and technician.
      Parameters:
      processType - The process type name.
      technician - The technician link.
  • Method Details

    • getProcessType

      public String getProcessType()
      Gets the process type name.
      Returns:
      The process type name.
    • setProcessType

      public void setProcessType(String processType)
      Sets the process type name.
      Parameters:
      processType - The process type name to set.
    • setProcessType

      public void setProcessType(ProcessType processType)
      Sets the process type from a ProcessType object.
      Parameters:
      processType - The process type object.
    • getDateRun

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

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

      public Technician getTechnician()
      Gets the technician who ran the process.
      Returns:
      The technician.
    • setTechnician

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

      public List<ExecutableInputOutputMap> getInputOutputMaps()
      Gets the input-output mappings.
      Returns:
      The input-output mappings (never null).
    • addInputOutputMap

      public ExecutableInputOutputMap addInputOutputMap(ExecutableInputOutputMap ioMap)
      Adds an input-output map to the list.
      Parameters:
      ioMap - The input-output map to add.
      Returns:
      The added input-output map.
    • newInputOutputMap

      public ExecutableInputOutputMap newInputOutputMap()
      Creates and adds a new input-output map.
      Returns:
      The newly created input-output map.
    • 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 type name.
      Returns:
      The created user-defined type.
    • getUserDefinedFields

      public List<UDF> getUserDefinedFields()
      Gets the user-defined fields.
      Specified by:
      getUserDefinedFields in interface UDFHolder
      Returns:
      The user-defined fields (never null).
    • getInstrument

      public InstrumentLink getInstrument()
      Gets the instrument used for the process.
      Returns:
      The instrument link.
    • setInstrument

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

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

      public void setParameter(Parameter parameter)
      Sets the process parameter.
      Parameters:
      parameter - The parameter to set.