public class SimpleSTValueResolver extends java.lang.Object implements VariableResolver
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Class |
type |
private boolean |
updated |
private java.lang.Object |
value |
| Constructor and Description |
|---|
SimpleSTValueResolver(java.lang.Object value,
java.lang.Class type) |
SimpleSTValueResolver(java.lang.Object value,
java.lang.Class type,
boolean updated) |
| Modifier and Type | Method and Description |
|---|---|
int |
getFlags()
Returns the bitset of special variable flags.
|
java.lang.String |
getName()
Returns the name of external variable.
|
java.lang.Class |
getType()
This should return the type of the variable.
|
java.lang.Object |
getValue()
Returns the physical target value of the variable.
|
private static java.lang.Object |
handleTypeCoercion(java.lang.Class type,
java.lang.Object value) |
void |
setStaticType(java.lang.Class type) |
void |
setValue(java.lang.Object value)
Sets the value of the physical target value.
|
private java.lang.Object value
private java.lang.Class type
private boolean updated
public SimpleSTValueResolver(java.lang.Object value,
java.lang.Class type)
public SimpleSTValueResolver(java.lang.Object value,
java.lang.Class type,
boolean updated)
public java.lang.String getName()
VariableResolvergetName in interface VariableResolverpublic java.lang.Class getType()
VariableResolvergetType in interface VariableResolverpublic void setStaticType(java.lang.Class type)
setStaticType in interface VariableResolverpublic int getFlags()
VariableResolvergetFlags in interface VariableResolverpublic java.lang.Object getValue()
VariableResolvergetValue in interface VariableResolverpublic void setValue(java.lang.Object value)
VariableResolversetValue in interface VariableResolvervalue - The new value.private static java.lang.Object handleTypeCoercion(java.lang.Class type,
java.lang.Object value)