|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.webflow.core.AnnotatedObject
org.springframework.webflow.engine.FlowVariable
public class FlowVariable
A value object that defines a specification for a flow variable. Such a variable is allocated when a flow starts and destroyed when that flow ends. This class encapsulates information about the variable and the behavior necessary to allocate the variable instance in flow scope.
| Field Summary |
|---|
| Fields inherited from class org.springframework.webflow.core.AnnotatedObject |
|---|
CAPTION_PROPERTY, DESCRIPTION_PROPERTY |
| Constructor Summary | |
|---|---|
FlowVariable(String name,
VariableValueFactory valueFactory)
Creates a new flow variable. |
|
| Method Summary | |
|---|---|
void |
create(RequestContext context)
Creates this flow variable. |
Object |
destroy(RequestContext context)
Destroys this flow variable. |
boolean |
equals(Object o)
|
String |
getName()
Returns the name of this variable. |
int |
hashCode()
|
void |
restore(RequestContext context)
Restores this variable's dependencies. |
String |
toString()
|
| Methods inherited from class org.springframework.webflow.core.AnnotatedObject |
|---|
getAttributes, getCaption, getDescription, setCaption, setDescription |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FlowVariable(String name,
VariableValueFactory valueFactory)
name - the variable name| Method Detail |
|---|
public String getName()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic void create(RequestContext context)
context - the executing flowpublic void restore(RequestContext context)
context - the executing flowpublic Object destroy(RequestContext context)
context - the executing flowpublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||