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