|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.webflow.engine.model.AbstractModel org.springframework.webflow.engine.model.IfModel
public class IfModel
Model support for if elements.
Defines a boolean expression to evaluate a target state to transition to if that expression evaluates to true. Optionally, this element may define an 'else' attribute to define a state to transition to if the expression evaluates to false.
Constructor Summary | |
---|---|
IfModel(java.lang.String test,
java.lang.String then)
Create an if model |
Method Summary | |
---|---|
Model |
createCopy()
Create a deep copy of this model. |
java.lang.String |
getElse()
|
java.lang.String |
getTest()
|
java.lang.String |
getThen()
|
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 |
setElse(java.lang.String elze)
|
void |
setTest(java.lang.String test)
|
void |
setThen(java.lang.String then)
|
Methods inherited from class org.springframework.webflow.engine.model.AbstractModel |
---|
copy, copyList, merge, merge, merge, merge, merge |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IfModel(java.lang.String test, java.lang.String then)
test
- the boolean condition to testthen
- the state to transition to if the boolean expression evaluates to trueMethod Detail |
---|
public boolean isMergeableWith(Model model)
Model
model
- the model to compare
public void merge(Model model)
Model
model
- the model to merge withpublic Model createCopy()
Model
public java.lang.String getTest()
public void setTest(java.lang.String test)
test
- the test to setpublic java.lang.String getThen()
public void setThen(java.lang.String then)
then
- the then to setpublic java.lang.String getElse()
public void setElse(java.lang.String elze)
elze
- the else to set
|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |