public class FlowVariable extends AnnotatedObject
CAPTION_PROPERTY, DESCRIPTION_PROPERTY
Constructor and Description |
---|
FlowVariable(String name,
VariableValueFactory valueFactory)
Creates a new flow variable.
|
Modifier and Type | Method and Description |
---|---|
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() |
getAttributes, getCaption, getDescription, setCaption, setDescription
public FlowVariable(String name, VariableValueFactory valueFactory)
name
- the variable namepublic String getName()
public void create(RequestContext context)
context
- the executing flowpublic void restore(RequestContext context)
context
- the executing flowpublic Object destroy(RequestContext context)
context
- the executing flow