java.lang.Object
com.genologics.ri.stage.Stage
- All Implemented Interfaces:
Linkable<Stage>
,Locatable
,Serializable
The detailed representation of a stage.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Pattern
Regular expression to extract workflow id and workflow stage id from a workflow stage URI.protected Integer
protected String
protected ProtocolLink
protected ProtocolStepLink
protected URI
protected WorkflowLink
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()
Get the numeric identifier for this workflow stage from its URI.getIndex()
getLink()
Get a concrete link object to thisLinkable
thing.getName()
getStep()
getUri()
Get the URI of this object.Get the numeric identifier for this stage's workflow from its URI.void
void
void
setProtocol
(Linkable<Protocol> protocol) void
setStep
(Linkable<ProtocolStep> step) void
Set the URI of this object.void
setWorkflow
(Linkable<Workflow> workflow)
-
Field Details
-
ID_EXTRACTOR_PATTERN
Regular expression to extract workflow id and workflow stage id from a workflow stage URI.- Since:
- 2.22
-
workflow
-
protocol
-
step
-
uri
-
name
-
index
-
-
Constructor Details
-
Stage
public Stage() -
Stage
-
Stage
-
-
Method Details
-
getId
Get the numeric identifier for this workflow stage from its URI.- Returns:
- The workflow stage id, or null if either the URI is not set or it doesn't match the form expected for a workflow stage URI.
- Since:
- 2.22
-
getWorkflowId
Get the numeric identifier for this stage's workflow from its URI.- Returns:
- The workflow id, or null if either the URI is not set or it doesn't match the form expected for a workflow stage URI.
- Since:
- 2.22
-
getWorkflow
-
setWorkflow
-
getProtocol
-
setProtocol
-
getStep
-
setStep
-
getUri
Description copied from interface:Locatable
Get the URI of this object. -
setUri
Description copied from interface:Locatable
Set the URI of this object. -
getName
-
setName
-
getIndex
-
setIndex
-
getLink
Get a concrete link object to thisLinkable
thing.
-