public class FlowModel extends AbstractModel
Defines exactly one flow definition. A flow is composed of one or more states that define the steps of a
conversation. One of those steps is the start state, which defines the conversation's starting point.
A flow may also exhibit the following characteristics:
AttributeModel)
SecuredModel)
PersistenceContextModel)
VarModel)
InputModel)
OutputModel)
EvaluateModel, RenderModel and SetModel)
TransitionModel)
ExceptionHandlerModel)
BeanImportModel)
| Constructor and Description |
|---|
FlowModel()
Create a flow model
|
public boolean isMergeableWith(Model model)
Modelmodel - the model to comparepublic void merge(Model model)
Modelmodel - the model to merge withpublic Model createCopy()
Modelpublic String getAbstract()
public void setAbstract(String abztract)
abztract - the abstract to setpublic String getParent()
public void setParent(String parent)
parent - the parent to setpublic String getStartStateId()
public void setStartStateId(String startStateId)
startStateId - the id of the flow's start state to setpublic LinkedList getAttributes()
public void setAttributes(LinkedList attributes)
attributes - the attributes to setpublic SecuredModel getSecured()
public void setSecured(SecuredModel secured)
secured - the secured to setpublic PersistenceContextModel getPersistenceContext()
public void setPersistenceContext(PersistenceContextModel persistenceContext)
persistenceContext - the persistence context to setpublic LinkedList getVars()
public void setVars(LinkedList vars)
vars - the vars to setpublic LinkedList getInputs()
public void setInputs(LinkedList inputs)
inputs - the input mappings to setpublic LinkedList getOutputs()
public void setOutputs(LinkedList outputs)
outputs - the output mappings to setpublic LinkedList getOnStartActions()
public void setOnStartActions(LinkedList onStartActions)
onStartActions - the on start actions to setpublic LinkedList getStates()
public AbstractStateModel getStateById(String id)
id - the state identifier to findpublic void setStates(LinkedList states)
states - the states to setpublic LinkedList getGlobalTransitions()
public void setGlobalTransitions(LinkedList globalTransitions)
globalTransitions - the global transitions to setpublic LinkedList getOnEndActions()
public void setOnEndActions(LinkedList onEndActions)
onEndActions - the on end actions to setpublic LinkedList getExceptionHandlers()
public void setExceptionHandlers(LinkedList exceptionHandlers)
exceptionHandlers - the exception handlers to setpublic LinkedList getBeanImports()
public void setBeanImports(LinkedList beanImports)
beanImports - the bean imports to set