public class Variable extends Object
CHILDREN
, the outlet in which this
variable was set is also stored in the variable.Modifier and Type | Class and Description |
---|---|
static class |
Variable.Scope
The scope of a variable.
|
Constructor and Description |
---|
Variable(QualifiedName name,
Object value,
Variable.Scope scope)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
QualifiedName |
getName()
Returns the name of the variable.
|
Variable.Scope |
getScope()
Returns the scope of the variable.
|
Object |
getValue()
Returns the value of the variable,
|
int |
hashCode() |
void |
setValue(Object value)
Sets the value of the variable.
|
String |
toString() |
public Variable(QualifiedName name, Object value, Variable.Scope scope)
name
- the name of the variable, not null.value
- the value of the variable.scope
- the scope of the variable, not null.public QualifiedName getName()
public Object getValue()
public void setValue(Object value)
value
- the value to set in the variable.public Variable.Scope getScope()
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.