public final class WritableVariable extends Variable
| Constructor and Description |
|---|
WritableVariable(SWritableVariable source,
ModelInstance modelInstance)
Creates a new instance from the serialized companion.
|
| Modifier and Type | Method and Description |
|---|---|
Type |
getCachedCompiledType()
Returns the cached compiled type, if it is stored.
|
Type |
getCompiledType(Context context,
ModelProvider modelProvider)
Returns the compiled type.
|
boolean |
isInitialValueChanged()
Returns true if initial value was changed.
|
boolean |
isReadOnly()
Returns true if variable is read only.
|
SWritableVariable |
toSerializable(SModelInstance smi,
MarshallerConfig config)
Creates a serializable object.
|
compileType, convertToDirectReferences, fillSerializable, getElementId, getFlags, getFlagValue, getName, getType, getValue, isExpressionLocal, isInternal, refreshDirectReferences, setFlagValue, setInternal, setIsExpressionLocal, toStringpublic WritableVariable(SWritableVariable source, ModelInstance modelInstance)
source - modelInstance - public SWritableVariable toSerializable(SModelInstance smi, MarshallerConfig config)
VariabletoSerializable in class Variablepublic Type getCompiledType(Context context, ModelProvider modelProvider)
getCompiledType in class VariablemodelProvider - public Type getCachedCompiledType()
VariablegetCachedCompiledType in class Variablenullpublic boolean isInitialValueChanged()
VariableisInitialValueChanged in class Variablepublic boolean isReadOnly()
VariableisReadOnly in class VariableCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.