Workflow-link is a child element type of workflows and provides a URI linking
to the detailed representation of a workflow.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.WorkflowLink(Linkable<Workflow> link) Constructor accepting a Linkable object.WorkflowLink(Workflow workflow) Constructor accepting a Workflow object.WorkflowLink(URI uri) Constructor accepting a URI.WorkflowLink(URI uri, String name) Constructor accepting a URI and name.WorkflowLink(URI uri, String name, Status status) Constructor accepting a URI, name, and status. -
Method Summary
Modifier and TypeMethodDescriptionGets the entity class for this link.getName()Gets the name of the workflow.Gets the status of the workflow.getUri()Gets the URI of the workflow.voidSets the name of the workflow.voidSets the status of the workflow.voidSets the URI of the workflow.toString()Returns a string representation of this workflow link.Methods inherited from class com.genologics.ri.LimsLinkBase
equals, hashCode
-
Field Details
-
uri
The URI of the workflow. -
name
The name of the workflow. -
status
The status of the workflow.
-
-
Constructor Details
-
WorkflowLink
public WorkflowLink()Default constructor. -
WorkflowLink
Constructor accepting a URI.- Parameters:
uri- The workflow URI.
-
WorkflowLink
Constructor accepting a URI and name.- Parameters:
uri- The workflow URI.name- The workflow name.
-
WorkflowLink
Constructor accepting a URI, name, and status.- Parameters:
uri- The workflow URI.name- The workflow name.status- The workflow status.
-
WorkflowLink
Constructor accepting a Linkable object.- Parameters:
link- The linkable workflow object.
-
WorkflowLink
Constructor accepting a Workflow object.- Parameters:
workflow- The workflow to link to.
-
-
Method Details
-
getEntityClass
Gets the entity class for this link.- Returns:
- The Workflow class.
-
getUri
Gets the URI of the workflow.- Returns:
- The workflow URI.
-
setUri
Sets the URI of the workflow.- Parameters:
uri- The workflow URI.
-
getName
Gets the name of the workflow.- Returns:
- The workflow name.
-
setName
Sets the name of the workflow.- Parameters:
name- The workflow name.
-
getStatus
Gets the status of the workflow.- Returns:
- The workflow status.
-
setStatus
Sets the status of the workflow.- Parameters:
status- The workflow status.
-
toString
Returns a string representation of this workflow link.- Overrides:
toStringin classLimsLinkBase<Workflow>- Returns:
- The workflow LIMS id and name.
- See Also:
-