public class MapVariableResolver extends Object implements VariableResolver
Constructor and Description |
---|
MapVariableResolver(Map<String,Object> variableMap,
String name) |
MapVariableResolver(Map<String,Object> variableMap,
String name,
Class knownType) |
Modifier and Type | Method and Description |
---|---|
int |
getFlags()
Returns the bitset of special variable flags.
|
String |
getName()
Returns the name of external variable.
|
Class |
getType()
This should return the type of the variable.
|
Object |
getValue()
Returns the physical target value of the variable.
|
void |
setName(String name) |
void |
setStaticType(Class knownType) |
void |
setValue(Object value)
Sets the value of the physical target value.
|
void |
setVariableMap(Map<String,Object> variableMap) |
public void setName(String name)
public void setStaticType(Class knownType)
setStaticType
in interface VariableResolver
public String getName()
VariableResolver
getName
in interface VariableResolver
public Class getType()
VariableResolver
getType
in interface VariableResolver
public void setValue(Object value)
VariableResolver
setValue
in interface VariableResolver
value
- The new value.public Object getValue()
VariableResolver
getValue
in interface VariableResolver
public int getFlags()
VariableResolver
getFlags
in interface VariableResolver
Copyright © 2018. All rights reserved.