Package com.orchestranetworks.workflow
Class WorkflowStepMetadata
java.lang.Object
com.orchestranetworks.workflow.WorkflowStepMetadata
Represents metadata for a workflow step.
This class encapsulates information about the step's primary key, properties, and type.
It also provides methods to manage and retrieve step-specific properties.
- Since:
- 6.2.2
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEnum representing properties associated with a workflow step.static enumEnum representing the type of a workflow step.static classRepresents a link between workflow steps. -
Constructor Summary
ConstructorsConstructorDescriptionWorkflowStepMetadata(PrimaryKey aPrimaryKey) Constructs a new WorkflowStepMetadata instance with the specified primary key. -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if this WorkflowStepMetadata is equal to another object.com.onwbp.base.text.bean.LabelDescriptionRetrieves the label and description of the workflow step.Retrieves the primary key of the workflow step.Retrieves the properties associated with the workflow step.Retrieves the value of a specific property.Retrieves the value of a specific property as a string.getType()Retrieves the type of the workflow step.inthashCode()Computes the hash code for this WorkflowStepMetadata.voidsetDocumentation(com.onwbp.base.text.bean.LabelDescription documentation) Sets the label and description of the workflow step.voidsetProperties(Map<WorkflowStepMetadata.Property, Object> properties) Sets multiple properties for the workflow step.voidsetProperty(WorkflowStepMetadata.Property key, Object value) Sets the value of a specific property.voidSets the type of the workflow step.
-
Constructor Details
-
WorkflowStepMetadata
Constructs a new WorkflowStepMetadata instance with the specified primary key.- Parameters:
aPrimaryKey- The primary key of the workflow step.
-
-
Method Details
-
getPrimaryKey
Retrieves the primary key of the workflow step.- Returns:
- The primary key of the workflow step.
-
getType
Retrieves the type of the workflow step.- Returns:
- The type of the workflow step.
-
setType
Sets the type of the workflow step.- Parameters:
type- The type to set for the workflow step.
-
getProperties
Retrieves the properties associated with the workflow step.- Returns:
- A map of properties associated with the workflow step.
-
getProperty
Retrieves the value of a specific property.- Parameters:
key- The property key.- Returns:
- The value of the specified property, or null if not set.
-
getStringProperty
Retrieves the value of a specific property as a string.- Parameters:
key- The property key.- Returns:
- The value of the specified property as a string, or null if not set.
-
setProperty
Sets the value of a specific property.- Parameters:
key- The property key.value- The value to set for the property. If null, the property is removed.
-
setProperties
Sets multiple properties for the workflow step.- Parameters:
properties- A map of properties to set. If null, no properties are set.
-
getDocumentation
public com.onwbp.base.text.bean.LabelDescription getDocumentation()Retrieves the label and description of the workflow step.- Returns:
- The label and description of the workflow step.
-
setDocumentation
public void setDocumentation(com.onwbp.base.text.bean.LabelDescription documentation) Sets the label and description of the workflow step.- Parameters:
documentation- The label and description to set for the workflow step.
-
equals
Checks if this WorkflowStepMetadata is equal to another object. -
hashCode
public int hashCode()Computes the hash code for this WorkflowStepMetadata.
-