public final class ReadonlyVariable extends Variable
| Constructor and Description |
|---|
ReadonlyVariable(SVariable 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.
|
SReadonlyVariable |
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 ReadonlyVariable(SVariable source, ModelInstance modelInstance)
source - modelInstance - public SReadonlyVariable toSerializable(SModelInstance smi, MarshallerConfig config)
VariabletoSerializable in class Variablepublic boolean isReadOnly()
VariableisReadOnly in class Variablepublic boolean isInitialValueChanged()
VariableisInitialValueChanged in class Variablepublic Type getCompiledType(Context context, ModelProvider modelProvider)
VariablegetCompiledType in class Variablepublic Type getCachedCompiledType()
VariablegetCachedCompiledType in class VariablenullCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.