public class VariableType extends TypeBase<Variable> implements EvaluableType<Variable>
Variable class. Evaluates (EvaluableType) to variable
value.TypeBase.Convert<A,T>| Modifier and Type | Field and Description |
|---|---|
static VariableType |
INSTANCE |
NO_ALIASES| Modifier and Type | Method and Description |
|---|---|
Variable |
convert(String value)
Returns string value converted to Object of this type
|
<V> V |
evaluate(Variable value)
Evaluates this type instance to acquire its runtime value.
|
Type<?> |
evaluatedType(Variable value)
Returns type of value returned from
EvaluableType.evaluate(Object) method for given value. |
String |
name()
Returns unqiue type name.
|
aliasType, defaultValue, doReadAs, isAssignable, isForceInstanceWhenReading, isInstance, isInstance, javaType, read, readAs, setForceInstanceWhenReading, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdefaultValue, isInstance, isInstance, javaType, read, readAspublic static final VariableType INSTANCE
public Type<?> evaluatedType(Variable value)
EvaluableTypeEvaluableType.evaluate(Object) method for given value.evaluatedType in interface EvaluableType<Variable>public <V> V evaluate(Variable value)
EvaluableType#evaluatedType() type.evaluate in interface EvaluableType<Variable>value - this type instancepublic Variable convert(String value) throws IllegalArgumentException
TypeCopyright © 2022 Suncode. All rights reserved.