public class ContextWithFreeTypes extends Context
Modifier | Constructor and Description |
---|---|
protected |
ContextWithFreeTypes(SContext source,
Context parentContext,
ModelInstance modelInstance)
Creates a new instance from the serialized companion.
|
Modifier and Type | Method and Description |
---|---|
ContextWithFreeTypes |
createCopy(ModelInstance targetModelInstance)
Creates a copy without references to other objects.
|
ContextWithFreeTypes |
createInLevel(java.lang.String level,
Context parentContext,
CommonRecordValue record,
Context lowerLevelContext)
Creates a context on a given level.
|
java.util.Set<java.lang.String> |
getAllFreeTypeNames()
Returns all free type names.
|
ContextFreeType |
getFreeType(java.lang.String name)
Returns free type value for given name or null if it does not exist.
|
SContext |
toSerializable(SContext parent,
SModelInstance smi,
MarshallerConfig config)
Creates a serializable object.
|
addChildContext, addNewChildContext, addNewChildContext, addNewChildContext, addNewVariable, addNewVariable, addNewVariable, addNewVariable, addNewVariable, addVariable, addVariables, clear, clearNamespaceModel, collect, collectTree, containsVariable, convertToDirectReferences, convertToRemovedRecordContext, createNamespaceModel, createVariable, finishCopy, fromSerializable, getBaseLevelEntity, getBaseLevelEntityId, getChildContexts, getCompiled, getCompiledType, getElement, getElementId, getElementId, getEvaluationLevel, getFreeTypeMapping, getId, getLowerLevelEntity, getLowerLevelEntityId, getLowestLevelEntity, getModelInstance, getName, getNamespaceModel, getParentContext, getPath, getPathQID, getProcessInstance, getRecordValue, getRecordValueId, getReferences, getTopContext, getVariableInstance, getVariableNames, getVariables, getVariableValue, hasParent, isPersistent, makeCopy, rebind, refreshDirectReferences, removeChildContext, replaceReferencedIds, setCompiled, setLowerLevelEntity, setVariables, setVariableValue, toString
protected ContextWithFreeTypes(SContext source, Context parentContext, ModelInstance modelInstance)
source
- parentContext
- modelInstance
- public SContext toSerializable(SContext parent, SModelInstance smi, MarshallerConfig config)
Context
toSerializable
in class Context
public ContextFreeType getFreeType(java.lang.String name)
Context
getFreeType
in class Context
public java.util.Set<java.lang.String> getAllFreeTypeNames()
Context
getAllFreeTypeNames
in class Context
public ContextWithFreeTypes createCopy(ModelInstance targetModelInstance)
createCopy
in class Context
public ContextWithFreeTypes createInLevel(java.lang.String level, Context parentContext, CommonRecordValue record, Context lowerLevelContext)
Context
createInLevel
in class Context
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.