public class RecordContext extends Context
Modifier | Constructor and Description |
---|---|
|
RecordContext(long id,
ModelInstance modelInstance,
Context parentContext,
String name,
CommonRecordValue recordValue,
String level,
long baseLevelContextId,
Context lowerLevelContext) |
protected |
RecordContext(RecordContext context,
ModelInstance targetModelInstance) |
protected |
RecordContext(SContext source,
Context parentContext,
ModelInstance modelInstance)
Creates a new instance from the serialized companion.
|
Modifier and Type | Method and Description |
---|---|
protected void |
convertToDirectReferences() |
void |
convertToRemovedRecordContext(ModelProvider modelProvider)
Do not use this method!
This method is used only in evaluation levels merge.
|
RecordContext |
createCopy(ModelInstance targetModelInstance)
Creates a copy without references to other objects.
|
Context |
createInLevel(String level,
Context parentContext,
CommonRecordValue record,
Context lowerLevelContext)
Creates a context on a given level.
|
protected NamespaceModel |
createNamespaceModel(ModelProvider modelProvider)
Creates namespace model for this.
|
void |
finishCopy(com.whitestein.lsps.engine.state.xml.Copiable source,
CopyHelper helper)
Copy references.
|
CommonRecordValue |
getRecordValue()
Returns record value.
|
Long |
getRecordValueId()
Returns id of record value.
|
Collection<Collectible> |
getReferences()
Returns collection of all referenced collectible objects.
|
void |
refreshDirectReferences()
Re-set references to elements from the same model instance.
|
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, createVariable, fromSerializable, getAllFreeTypeNames, getBaseLevelEntity, getBaseLevelEntityId, getChildContexts, getCompiled, getCompiledType, getElement, getElementId, getElementId, getEvaluationLevel, getFreeType, getFreeTypeMapping, getId, getLowerLevelEntity, getLowerLevelEntityId, getLowestLevelEntity, getModelInstance, getName, getNamespaceModel, getParentContext, getPath, getPathQID, getProcessInstance, getTopContext, getVariableInstance, getVariableNames, getVariables, getVariableValue, hasParent, isPersistent, makeCopy, rebind, removeChildContext, replaceReferencedIds, setCompiled, setLowerLevelEntity, setVariables, setVariableValue, toString
public RecordContext(long id, ModelInstance modelInstance, Context parentContext, String name, CommonRecordValue recordValue, String level, long baseLevelContextId, Context lowerLevelContext)
id
- modelInstance
- parentContext
- name
- recordValue
- level
- baseLevelContextId
- lowerLevelContext
- protected RecordContext(SContext source, Context parentContext, ModelInstance modelInstance)
source
- parentContext
- modelInstance
- protected RecordContext(RecordContext context, ModelInstance targetModelInstance)
public SContext toSerializable(SContext parent, SModelInstance smi, MarshallerConfig config)
Context
toSerializable
in class Context
public Long getRecordValueId()
getRecordValueId
in class Context
public CommonRecordValue getRecordValue()
getRecordValue
in class Context
public Collection<Collectible> getReferences()
Collectible
getReferences
in interface Collectible
getReferences
in class Context
protected NamespaceModel createNamespaceModel(ModelProvider modelProvider)
Context
createNamespaceModel
in class Context
public RecordContext createCopy(ModelInstance targetModelInstance)
createCopy
in class Context
public void finishCopy(com.whitestein.lsps.engine.state.xml.Copiable source, CopyHelper helper)
finishCopy
in class Context
public Context createInLevel(String level, Context parentContext, CommonRecordValue record, Context lowerLevelContext)
Context
createInLevel
in class Context
protected void convertToDirectReferences()
convertToDirectReferences
in class Context
public void refreshDirectReferences()
EvaluationLevelAware
refreshDirectReferences
in interface EvaluationLevelAware
refreshDirectReferences
in class Context
public void convertToRemovedRecordContext(ModelProvider modelProvider)
Context
convertToRemovedRecordContext
in class Context
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.