java.lang.Object
com.genologics.ri.processtemplate.ProcessTemplate
- All Implemented Interfaces:
Linkable<ProcessTemplate>,Locatable,UDFHolder,Serializable
public class ProcessTemplate
extends Object
implements Linkable<ProcessTemplate>, UDFHolder, Serializable
The detailed representation of a Process Template.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BooleanIndicates whether this is the default template for the associated process type.The user-defined fields.protected InstrumentLinkThe instrument configured to run processes created from this template.protected StringThe name of this process template.protected ParameterThe process parameter for external program integration.protected ProcessTypeLinkThe process type this template is associated with.protected TechnicianThe technician configured to run processes created from this template.protected UDTThe user-defined type.protected URIThe URI of this process template. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.ProcessTemplate(URI uri) Constructor with URI.ProcessTemplate(URI uri, String name) Constructor with URI and name. -
Method Summary
Modifier and TypeMethodDescriptionGets the instrument link.getLink()Get a concrete link object to thisLinkablething.getName()Gets the name.Gets the parameter.Gets the process type link.Gets the technician.getUri()Gets the URI.Gets the user-defined fields.Gets the user-defined type.Checks if this is the default template.voidsetDefault(Boolean defaultTemplate) Sets whether this is the default template.voidsetInstrument(Instrument instrument) Sets the instrument from an Instrument object.voidsetInstrument(InstrumentLink instrument) Sets the instrument.voidSets the name.voidsetParameter(Parameter parameter) Sets the parameter.voidsetProcessType(ProcessTypeLink processType) Sets the process type.voidsetProcessType(ProcessType processType) Sets the process type from a ProcessType object.voidsetTechnician(Technician technician) Sets the technician.voidsetTechnician(Researcher researcher) Sets the technician from a Researcher object.voidSets the URI.setUserDefinedType(UDT value) 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
-
name
The name of this process template. -
processType
The process type this template is associated with. -
technician
The technician configured to run processes created from this template. -
instrument
The instrument configured to run processes created from this template. -
parameter
The process parameter for external program integration. -
type
The user-defined type. -
fields
The user-defined fields. -
defaultTemplate
Indicates whether this is the default template for the associated process type. -
uri
The URI of this process template.
-
-
Constructor Details
-
ProcessTemplate
public ProcessTemplate()Default constructor. -
ProcessTemplate
Constructor with URI.- Parameters:
uri- the URI of the process template.
-
ProcessTemplate
Constructor with URI and name.- Parameters:
uri- the URI of the process template.name- the name of the process template.
-
-
Method Details
-
getUri
Gets the URI. -
setUri
Sets the URI. -
getName
Gets the name.- Returns:
- the name.
-
setName
Sets the name.- Parameters:
name- the name to set.
-
getProcessType
Gets the process type link.- Returns:
- the process type link.
-
setProcessType
Sets the process type.- Parameters:
processType- the process type link to set.
-
setProcessType
Sets the process type from a ProcessType object.- Parameters:
processType- the process type to set.
-
getTechnician
Gets the technician.- Returns:
- the technician.
-
setTechnician
Sets the technician.- Parameters:
technician- the technician to set.
-
setTechnician
Sets the technician from a Researcher object.- Parameters:
researcher- the researcher to set as technician.
-
getInstrument
Gets the instrument link.- Returns:
- the instrument link.
-
setInstrument
Sets the instrument.- Parameters:
instrument- the instrument link to set.
-
setInstrument
Sets the instrument from an Instrument object.- Parameters:
instrument- the instrument to set.
-
getParameter
Gets the parameter.- Returns:
- the parameter.
-
setParameter
Sets the parameter.- Parameters:
parameter- the parameter to set.
-
getUserDefinedType
Gets the user-defined type.- Returns:
- the user-defined type.
-
setUserDefinedType
Sets the user-defined type.- Parameters:
value- 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 (never null).
-
isDefault
Checks if this is the default template.- Returns:
- true if this is the default template, false otherwise.
-
setDefault
Sets whether this is the default template.- Parameters:
defaultTemplate- true to make this the default template.
-
getLink
Get a concrete link object to thisLinkablething.- Specified by:
getLinkin interfaceLinkable<ProcessTemplate>- Returns:
- A
LimsLinkto this object.
-