public class RecordContext extends Context
| Modifier | Constructor and Description |
|---|---|
|
RecordContext(long id,
ModelInstance modelInstance,
Context parentContext,
java.lang.String name,
CommonRecordValue recordValue,
java.lang.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(java.lang.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.
|
java.lang.Long |
getRecordValueId()
Returns id of record value.
|
java.util.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, toStringpublic RecordContext(long id,
ModelInstance modelInstance,
Context parentContext,
java.lang.String name,
CommonRecordValue recordValue,
java.lang.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)
ContexttoSerializable in class Contextpublic java.lang.Long getRecordValueId()
getRecordValueId in class Contextpublic CommonRecordValue getRecordValue()
getRecordValue in class Contextpublic java.util.Collection<Collectible> getReferences()
CollectiblegetReferences in interface CollectiblegetReferences in class Contextprotected NamespaceModel createNamespaceModel(ModelProvider modelProvider)
ContextcreateNamespaceModel in class Contextpublic RecordContext createCopy(ModelInstance targetModelInstance)
createCopy in class Contextpublic void finishCopy(com.whitestein.lsps.engine.state.xml.Copiable source,
CopyHelper helper)
finishCopy in class Contextpublic Context createInLevel(java.lang.String level, Context parentContext, CommonRecordValue record, Context lowerLevelContext)
ContextcreateInLevel in class Contextprotected void convertToDirectReferences()
convertToDirectReferences in class Contextpublic void refreshDirectReferences()
EvaluationLevelAwarerefreshDirectReferences in interface EvaluationLevelAwarerefreshDirectReferences in class Contextpublic void convertToRemovedRecordContext(ModelProvider modelProvider)
ContextconvertToRemovedRecordContext in class ContextCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.