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, toString
public ReadonlyVariable(SVariable source, ModelInstance modelInstance)
source
- modelInstance
- public SReadonlyVariable toSerializable(SModelInstance smi, MarshallerConfig config)
Variable
toSerializable
in class Variable
public boolean isReadOnly()
Variable
isReadOnly
in class Variable
public boolean isInitialValueChanged()
Variable
isInitialValueChanged
in class Variable
public Type getCompiledType(Context context, ModelProvider modelProvider)
Variable
getCompiledType
in class Variable
public Type getCachedCompiledType()
Variable
getCachedCompiledType
in class Variable
null
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.