Class SubflowStateModel

All Implemented Interfaces:
Model

public class SubflowStateModel extends AbstractTransitionableStateModel
Model support for subflow states.
Author:
Scott Andrews
  • Constructor Details

    • SubflowStateModel

      public SubflowStateModel(String id, String subflow)
      Create a subflow state model
      Parameters:
      id - the identifier of the state
      subflow - the identifier of the flow to launch as a subflow
  • Method Details

    • isMergeableWith

      public boolean isMergeableWith(Model model)
      Description copied from interface: Model
      Determine if the model is able to be merged into the current model
      Parameters:
      model - the model to compare
      Returns:
      true if able to merge
    • merge

      public void merge(Model model)
      Description copied from interface: Model
      Merge the model into the current model
      Parameters:
      model - the model to merge with
    • createCopy

      public Model createCopy()
      Description copied from interface: Model
      Create a deep copy of this model. Needed when merging models and collections.
      Returns:
      a deep copy of this model
    • getSubflow

      public String getSubflow()
      Returns:
      the subflow
    • setSubflow

      public void setSubflow(String subflow)
      Parameters:
      subflow - the subflow to set
    • getSubflowAttributeMapper

      public String getSubflowAttributeMapper()
      Returns:
      the subflow attribute mapper
    • setSubflowAttributeMapper

      public void setSubflowAttributeMapper(String subflowAttributeMapper)
      Parameters:
      subflowAttributeMapper - the subflow attribute mapper to set
    • getInputs

      public LinkedList<InputModel> getInputs()
      Returns:
      the input mappings
    • setInputs

      public void setInputs(LinkedList<InputModel> inputs)
      Parameters:
      inputs - the input mappings to set
    • getOutputs

      public LinkedList<OutputModel> getOutputs()
      Returns:
      the output mappings
    • setOutputs

      public void setOutputs(LinkedList<OutputModel> outputs)
      Parameters:
      outputs - the output mappings to set