public class SimpleValueResolver extends Object implements VariableResolver
Constructor and Description |
---|
SimpleValueResolver(Object value) |
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 |
setStaticType(Class type) |
void |
setValue(Object value)
Sets the value of the physical target value.
|
public SimpleValueResolver(Object value)
public String getName()
VariableResolver
getName
in interface VariableResolver
public Class getType()
VariableResolver
getType
in interface VariableResolver
public void setStaticType(Class type)
setStaticType
in interface VariableResolver
public int getFlags()
VariableResolver
getFlags
in interface VariableResolver
public Object getValue()
VariableResolver
getValue
in interface VariableResolver
public void setValue(Object value)
VariableResolver
setValue
in interface VariableResolver
value
- The new value.Copyright © 2001-2017 JBoss by Red Hat. All Rights Reserved.