public class SubflowStateModel extends AbstractTransitionableStateModel
Constructor and Description |
---|
SubflowStateModel(java.lang.String id,
java.lang.String subflow)
Create a subflow state model
|
Modifier and Type | Method and Description |
---|---|
Model |
createCopy()
Create a deep copy of this model.
|
java.util.LinkedList<InputModel> |
getInputs() |
java.util.LinkedList<OutputModel> |
getOutputs() |
java.lang.String |
getSubflow() |
java.lang.String |
getSubflowAttributeMapper() |
boolean |
isMergeableWith(Model model)
Determine if the model is able to be merged into the current model
|
void |
merge(Model model)
Merge the model into the current model
|
void |
setInputs(java.util.LinkedList<InputModel> inputs) |
void |
setOutputs(java.util.LinkedList<OutputModel> outputs) |
void |
setSubflow(java.lang.String subflow) |
void |
setSubflowAttributeMapper(java.lang.String subflowAttributeMapper) |
fillCopy, getOnExitActions, getTransitions, setOnExitActions, setTransitions
fillCopy, getAttributes, getExceptionHandlers, getId, getOnEntryActions, getParent, getSecured, setAttributes, setExceptionHandlers, setId, setOnEntryActions, setParent, setSecured
public SubflowStateModel(java.lang.String id, java.lang.String subflow)
id
- the identifier of the statesubflow
- the identifier of the flow to launch as a subflowpublic boolean isMergeableWith(Model model)
Model
model
- the model to comparepublic void merge(Model model)
Model
model
- the model to merge withpublic Model createCopy()
Model
public java.lang.String getSubflow()
public void setSubflow(java.lang.String subflow)
subflow
- the subflow to setpublic java.lang.String getSubflowAttributeMapper()
public void setSubflowAttributeMapper(java.lang.String subflowAttributeMapper)
subflowAttributeMapper
- the subflow attribute mapper to setpublic java.util.LinkedList<InputModel> getInputs()
public void setInputs(java.util.LinkedList<InputModel> inputs)
inputs
- the input mappings to setpublic java.util.LinkedList<OutputModel> getOutputs()
public void setOutputs(java.util.LinkedList<OutputModel> outputs)
outputs
- the output mappings to set