public class ViewStateModel extends AbstractTransitionableStateModel
Constructor and Description |
---|
ViewStateModel(java.lang.String id)
Create a view state model
|
Modifier and Type | Method and Description |
---|---|
Model |
createCopy()
Create a deep copy of this model.
|
BinderModel |
getBinder() |
java.lang.String |
getModel() |
java.util.LinkedList<AbstractActionModel> |
getOnRenderActions() |
java.lang.String |
getPopup() |
java.lang.String |
getRedirect() |
java.lang.String |
getValidationHints() |
java.util.LinkedList<VarModel> |
getVars() |
java.lang.String |
getView() |
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 |
setBinder(BinderModel binder) |
void |
setModel(java.lang.String model) |
void |
setOnRenderActions(java.util.LinkedList<AbstractActionModel> onRenderActions) |
void |
setPopup(java.lang.String popup) |
void |
setRedirect(java.lang.String redirect) |
void |
setValidationHints(java.lang.String validationHints) |
void |
setVars(java.util.LinkedList<VarModel> vars) |
void |
setView(java.lang.String view) |
fillCopy, getOnExitActions, getTransitions, setOnExitActions, setTransitions
fillCopy, getAttributes, getExceptionHandlers, getId, getOnEntryActions, getParent, getSecured, setAttributes, setExceptionHandlers, setId, setOnEntryActions, setParent, setSecured
public ViewStateModel(java.lang.String id)
id
- the identifier of the statepublic 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 getView()
public void setView(java.lang.String view)
view
- the view to setpublic java.lang.String getRedirect()
public void setRedirect(java.lang.String redirect)
redirect
- the redirect to setpublic java.lang.String getPopup()
public void setPopup(java.lang.String popup)
popup
- the popup to setpublic java.lang.String getModel()
public void setModel(java.lang.String model)
model
- the model to setpublic java.lang.String getValidationHints()
public void setValidationHints(java.lang.String validationHints)
public java.util.LinkedList<VarModel> getVars()
public void setVars(java.util.LinkedList<VarModel> vars)
vars
- the vars to setpublic BinderModel getBinder()
public void setBinder(BinderModel binder)
public java.util.LinkedList<AbstractActionModel> getOnRenderActions()
public void setOnRenderActions(java.util.LinkedList<AbstractActionModel> onRenderActions)
onRenderActions
- the on render actions to set