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