java.lang.Object
com.genologics.ri.processexecution.ExecutableProcess
- All Implemented Interfaces:
UDFHolder,Serializable
The process element defines the XML needed to run a process.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DateThe date the process was run.The user-defined fields.protected List<ExecutableInputOutputMap>The input-output mappings for the process.protected InstrumentLinkThe instrument used for the process.protected ParameterThe process parameter for external program integration.protected StringThe process type name.protected TechnicianThe technician who ran the process.protected UDTThe user-defined type. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.ExecutableProcess(String processType) Constructor with process type.ExecutableProcess(String processType, Linkable<Researcher> technician) Constructor with process type and technician. -
Method Summary
Modifier and TypeMethodDescriptionAdds an input-output map to the list.Gets the date the process was run.Gets the input-output mappings.Gets the instrument used for the process.Gets the process parameter.Gets the process type name.Gets the technician who ran the process.Gets the user-defined fields.Gets the user-defined type.Creates and adds a new input-output map.voidsetDateRun(Date dateRun) Sets the date the process was run.voidsetInstrument(Linkable<Instrument> link) Sets the instrument from an instrument link.voidsetParameter(Parameter parameter) Sets the process parameter.voidsetProcessType(ProcessType processType) Sets the process type from a ProcessType object.voidsetProcessType(String processType) Sets the process type name.voidsetTechnician(Linkable<Researcher> link) Sets the technician from a researcher link.setUserDefinedType(UDT type) Sets the user-defined type.setUserDefinedType(String type) Sets the user-defined type by name.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.genologics.ri.userdefined.UDFHolder
getUDF, getUDF, getUDF, getUdfs, getUDFs, getUDFValue, getUDFValue, getUDFValue, getUDFValue, setUDF
-
Field Details
-
processType
The process type name. -
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. -
instrument
The instrument used for the process. -
parameter
The process parameter for external program integration.
-
-
Constructor Details
-
ExecutableProcess
public ExecutableProcess()Default constructor. -
ExecutableProcess
Constructor with process type.- Parameters:
processType- The process type name.
-
ExecutableProcess
Constructor with process type and technician.- Parameters:
processType- The process type name.technician- The technician link.
-
-
Method Details
-
getProcessType
Gets the process type name.- Returns:
- The process type name.
-
setProcessType
Sets the process type name.- Parameters:
processType- The process type name to set.
-
setProcessType
Sets the process type from a ProcessType object.- Parameters:
processType- The process type object.
-
getDateRun
Gets the date the process was run.- Returns:
- The run date.
-
setDateRun
Sets the date the process was run.- Parameters:
dateRun- The run date to set.
-
getTechnician
Gets the technician who ran the process.- Returns:
- The technician.
-
setTechnician
Sets the technician from a researcher link.- Parameters:
link- The researcher link.
-
getInputOutputMaps
Gets the input-output mappings.- Returns:
- The input-output mappings (never null).
-
addInputOutputMap
Adds an input-output map to the list.- Parameters:
ioMap- The input-output map to add.- Returns:
- The added input-output map.
-
newInputOutputMap
Creates and adds a new input-output map.- Returns:
- The newly created input-output map.
-
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 type name.- Returns:
- The created user-defined type.
-
getUserDefinedFields
Gets the user-defined fields.- Specified by:
getUserDefinedFieldsin interfaceUDFHolder- Returns:
- The user-defined fields (never null).
-
getInstrument
Gets the instrument used for the process.- Returns:
- The instrument link.
-
setInstrument
Sets the instrument from an instrument link.- Parameters:
link- The instrument link.
-
getParameter
Gets the process parameter.- Returns:
- The parameter.
-
setParameter
Sets the process parameter.- Parameters:
parameter- The parameter to set.
-