public class FlowVariable extends AnnotatedObject
CAPTION_PROPERTY, DESCRIPTION_PROPERTY
Constructor and Description |
---|
FlowVariable(java.lang.String name,
VariableValueFactory valueFactory)
Creates a new flow variable.
|
Modifier and Type | Method and Description |
---|---|
void |
create(RequestContext context)
Creates this flow variable.
|
java.lang.Object |
destroy(RequestContext context)
Destroys this flow variable.
|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getName()
Returns the name of this variable.
|
int |
hashCode() |
void |
restore(RequestContext context)
Restores this variable's dependencies.
|
java.lang.String |
toString() |
getAttributes, getCaption, getDescription, setCaption, setDescription
public FlowVariable(java.lang.String name, VariableValueFactory valueFactory)
name
- the variable namepublic java.lang.String getName()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void create(RequestContext context)
context
- the executing flowpublic void restore(RequestContext context)
context
- the executing flowpublic java.lang.Object destroy(RequestContext context)
context
- the executing flowpublic java.lang.String toString()
toString
in class java.lang.Object