java.lang.Object
com.genologics.ri.stepconfiguration.ProtocolStep
- All Implemented Interfaces:
Linkable<ProtocolStep>,Locatable,Serializable
Detailed representation of a Step
Steps are the elements that compose protocols. They have various properties regarding different UDFs contained on each view of the step as well as configuration option and filters
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected GenericTypeLinkDeprecated.protected List<EppTrigger>List of EPP triggers for this step.protected List<IceBucketField>List of fields to display in the ice bucket view.static final PatternRegular expression to extract protocol id and protocol step id from a protocol step URI.protected StringThe name of the protocol step.protected List<GenericTypeLink>List of permitted container types for this step.protected List<ControlTypeLink>List of permitted control types for this step.protected List<GenericTypeLink>List of permitted instrument types for this step.protected List<GenericTypeLink>List of permitted reagent categories for this step.protected ProcessTypeLinkThe process type associated with this step.protected IntegerThe index of this step within the protocol.protected URIThe URI of the protocol this step belongs to.protected List<QueueField>List of fields to display in the queue view.protected List<ReagentKitLink>List of required reagent kits for this step.List of fields to display for samples.List of fields to display on the step.protected List<StepProperty>List of step properties.protected StepSetupConfiguration for the step setup view.List of transitions to next steps in the protocol.protected URIThe URI of the protocol step. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.ProtocolStep(URI uri) Constructor with URI.ProtocolStep(URI uri, String name) Constructor with URI and name. -
Method Summary
Modifier and TypeMethodDescriptionaddEppTriggers(EppTrigger trigger) Adds an EPP trigger.addIceBucketField(IceBucketField field) Adds an ice bucket field.Adds a permitted container type from a ContainerType entity.addPermittedContainer(String containerType) Adds a permitted container type by name.addPermittedControlType(Linkable<ControlType> controlType) Adds a permitted control type.addPermittedReagentCategory(ReagentType reagentType) Adds a permitted reagent category from a ReagentType entity.addPermittedReagentCategory(String category) Adds a permitted reagent category by name.addQueueField(QueueField field) Adds a queue field.Adds a required reagent kit.addStepField(Field field) Adds a step field.addStepProperty(StepProperty property) Adds a step property.addStepProperty(String name, String value) Adds a step property with name and value.addTransition(NextStep transition) Adds a transition to a next step.Deprecated.Please use "<milestone>DefaultGrouping" (for example, "queueDefaultGrouping") in aStepPropertyfield instead.Gets the list of EPP triggers for this step.Gets the list of ice bucket fields for this step.getId()Get the numeric identifier for this protocol step from its URI.getLink()Get a concrete link object to thisLinkablething.getName()Gets the name of the protocol step.Gets the list of permitted container types for this step.Gets the list of permitted control types for this step.Gets the list of permitted instrument types for this step.Gets the list of permitted reagent categories for this step.Gets the process type for this step.Get the numeric identifier for this step's protocol from its URI.Gets the protocol step index.Gets the URI of the protocol this step belongs to.Gets the list of queue fields for this step.Gets the list of required reagent kits for this step.Gets the list of sample fields.Gets the list of step fields.Gets the list of step properties.Gets the step setup configuration.Gets the list of transitions to next steps.getUri()Gets the URI of the protocol step.voidsetDefaultGrouping(GenericTypeLink defaultGrouping) Deprecated.Please use "<milestone>DefaultGrouping" (for example, "queueDefaultGrouping") in aStepPropertyfield instead.voidSets the name of the protocol step.voidsetProcessType(Linkable<ProcessType> processType) Sets the process type for this step.voidsetProtocolStepIndex(Integer protocolStepIndex) Sets the protocol step index.voidsetProtocolUri(URI protocolUri) Sets the URI of the protocol this step belongs to.setSampleFields(Field field) Adds a sample field.voidsetStepSetup(StepSetup stepSetup) Sets the step setup configuration.voidSets the URI of the protocol step.
-
Field Details
-
ID_EXTRACTOR_PATTERN
Regular expression to extract protocol id and protocol step id from a protocol step URI.- Since:
- 2.22
-
protocolStepIndex
The index of this step within the protocol. -
processType
The process type associated with this step. -
permittedContainerTypes
List of permitted container types for this step. -
permittedReagentCategories
List of permitted reagent categories for this step. -
requiredReagentKits
List of required reagent kits for this step.- Since:
- 2.18
-
permittedControlTypes
List of permitted control types for this step. -
permittedInstrumentTypes
List of permitted instrument types for this step.- Since:
- 2.25
-
transitions
List of transitions to next steps in the protocol. -
defaultGrouping
Deprecated.Please use "<milestone>DefaultGrouping" in aStepPropertyfield instead.Default field for grouping samples in the queue view.- Since:
- 2.18
-
queueFields
List of fields to display in the queue view. -
iceBucketFields
List of fields to display in the ice bucket view.- Since:
- 2.25
-
stepFields
List of fields to display on the step. -
sampleFields
List of fields to display for samples. -
stepProperties
List of step properties. -
stepSetup
Configuration for the step setup view. -
eppTriggers
List of EPP triggers for this step. -
name
The name of the protocol step. -
uri
The URI of the protocol step. -
protocolUri
The URI of the protocol this step belongs to.
-
-
Constructor Details
-
ProtocolStep
public ProtocolStep()Default constructor. -
ProtocolStep
Constructor with URI.- Parameters:
uri- The URI of the protocol step.
-
ProtocolStep
Constructor with URI and name.- Parameters:
uri- The URI of the protocol step.name- The name of the protocol step.
-
-
Method Details
-
getId
Get the numeric identifier for this protocol step from its URI.- Returns:
- The protocol step id, or null if either the URI is not set or it doesn't match the form expected for a protocol step URI.
- Since:
- 2.22
-
getProtocolId
Get the numeric identifier for this step's protocol from its URI.- Returns:
- The protocol id, or null if either the URI is not set or it doesn't match the form expected for a protocol step URI.
- Since:
- 2.22
-
getProtocolStepIndex
Gets the protocol step index.- Returns:
- The protocol step index.
-
setProtocolStepIndex
Sets the protocol step index.- Parameters:
protocolStepIndex- The protocol step index.
-
getProcessType
Gets the process type for this step.- Returns:
- The process type link.
-
setProcessType
Sets the process type for this step.- Parameters:
processType- The linkable process type.
-
getPermittedContainerTypes
Gets the list of permitted container types for this step.- Returns:
- The list of permitted container types.
-
addPermittedContainer
Adds a permitted container type by name.- Parameters:
containerType- The container type name.- Returns:
- The container type name.
-
addPermittedContainer
Adds a permitted container type from a ContainerType entity.- Parameters:
type- The container type entity.- Returns:
- The container type name.
-
getPermittedReagentCategories
Gets the list of permitted reagent categories for this step.- Returns:
- The list of permitted reagent categories.
-
addPermittedReagentCategory
Adds a permitted reagent category by name.- Parameters:
category- The reagent category name.- Returns:
- The reagent category name.
-
addPermittedReagentCategory
Adds a permitted reagent category from a ReagentType entity.- Parameters:
reagentType- The reagent type entity.- Returns:
- The reagent category name, or null if not available.
-
getRequiredReagentKits
Gets the list of required reagent kits for this step.- Returns:
- The list of required reagent kits.
-
addRequiredReagentKit
Adds a required reagent kit.- Parameters:
kit- The linkable reagent kit.- Returns:
- The reagent kit link.
-
getPermittedControlTypes
Gets the list of permitted control types for this step.- Returns:
- The list of permitted control types.
-
addPermittedControlType
Adds a permitted control type.- Parameters:
controlType- The linkable control type.- Returns:
- The control type link.
-
getPermittedInstrumentTypes
Gets the list of permitted instrument types for this step.- Returns:
- The list of permitted instrument types.
-
getTransitions
Gets the list of transitions to next steps.- Returns:
- The list of transitions.
-
addTransition
Adds a transition to a next step.- Parameters:
transition- The next step transition.- Returns:
- The next step transition.
-
getDefaultGrouping
Deprecated.Please use "<milestone>DefaultGrouping" (for example, "queueDefaultGrouping") in aStepPropertyfield instead.Field by which the queue view samples will be grouped by default.- Returns:
- Grouping field.
-
setDefaultGrouping
Deprecated.Please use "<milestone>DefaultGrouping" (for example, "queueDefaultGrouping") in aStepPropertyfield instead.Sets the field by which the queue view samples will be grouped by default.- Parameters:
defaultGrouping- The grouping field.
-
getQueueFields
Gets the list of queue fields for this step.- Returns:
- The list of queue fields.
-
addQueueField
Adds a queue field.- Parameters:
field- The queue field.- Returns:
- The queue field.
-
getIceBucketFields
Gets the list of ice bucket fields for this step.- Returns:
- The list of ice bucket fields.
-
addIceBucketField
Adds an ice bucket field.- Parameters:
field- The ice bucket field.- Returns:
- The ice bucket field.
-
getStepFields
Gets the list of step fields.- Returns:
- The list of step fields.
-
addStepField
Adds a step field.- Parameters:
field- The step field.- Returns:
- The step field.
-
getSampleFields
Gets the list of sample fields.- Returns:
- The list of sample fields.
-
setSampleFields
Adds a sample field.- Parameters:
field- The sample field.- Returns:
- The sample field.
-
getStepProperties
Gets the list of step properties.- Returns:
- The list of step properties.
-
addStepProperty
Adds a step property.- Parameters:
property- The step property.- Returns:
- The step property.
-
addStepProperty
Adds a step property with name and value.- Parameters:
name- The property name.value- The property value.- Returns:
- The step property.
-
getStepSetup
Gets the step setup configuration.- Returns:
- The step setup.
-
setStepSetup
Sets the step setup configuration.- Parameters:
stepSetup- The step setup.
-
getEppTriggers
Gets the list of EPP triggers for this step.- Returns:
- The list of EPP triggers.
-
addEppTriggers
Adds an EPP trigger.- Parameters:
trigger- The EPP trigger.- Returns:
- The EPP trigger.
-
getName
Gets the name of the protocol step.- Returns:
- The step name.
-
setName
Sets the name of the protocol step.- Parameters:
name- The step name.
-
getUri
Gets the URI of the protocol step. -
setUri
Sets the URI of the protocol step. -
getProtocolUri
Gets the URI of the protocol this step belongs to.- Returns:
- The protocol URI.
-
setProtocolUri
Sets the URI of the protocol this step belongs to.- Parameters:
protocolUri- The protocol URI.
-
getLink
Get a concrete link object to thisLinkablething.- Specified by:
getLinkin interfaceLinkable<ProtocolStep>- Returns:
- A
LimsLinkto this object.
-
StepPropertyfield instead.