public abstract class ComplexValueWithEvalLevels extends ComplexValue
Value. The type cannot
be null.modelInstance| Modifier | Constructor and Description |
|---|---|
protected |
ComplexValueWithEvalLevels(ComplexValueWithEvalLevels source,
ModelInstance targetModelInstance)
Creates copy instance from source.
|
protected |
ComplexValueWithEvalLevels(long id,
ModelInstance modelInstance,
java.lang.String type,
boolean register)
Creates new instance of
ComplexValueWithEvalLevels. |
protected |
ComplexValueWithEvalLevels(long id,
ModelInstance modelInstance,
java.lang.String type,
boolean register,
java.lang.String level,
long baseLevelValueId,
ComplexValue lowerLevelValue)
Creates new instance of
ComplexValueWithEvalLevels. |
protected |
ComplexValueWithEvalLevels(SComplexValue source,
ModelInstance modelInstance) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
convertToDirectReferences() |
com.whitestein.lsps.engine.state.xml.Copiable |
createCopy(ModelInstance targetModelInstance)
Creates a copy without references to other objects.
|
protected void |
fillSerializable(SComplexValue s,
SModelInstance smi,
MarshallerConfig config)
Fills attributes of the serializable value which is being created.
|
void |
finishCopy(com.whitestein.lsps.engine.state.xml.Copiable source,
CopyHelper helper)
Copy references.
|
ComplexValue |
getBaseLevelEntity()
Returns base level value.
|
long |
getBaseLevelEntityId()
Returns id of the corresponding value in base level.
|
java.lang.String |
getEvaluationLevel()
Returns evaluation level of this value.
|
ComplexValue |
getLowerLevelEntity()
Returns lower level value.
|
java.lang.Long |
getLowerLevelEntityId()
Returns id of the corresponding value in previous lower level.
|
void |
refreshDirectReferences()
Re-set references to elements from the same model instance.
|
void |
replaceIdAndEvaluationLevel(long newId,
long newBaseId)
Replaces id and base level entity id.
|
void |
replaceReferencedIds(java.util.Map<java.lang.Long,java.lang.Long> replacementMap)
Replace referenced ids according to mappings in the replacement map.
|
void |
setLowerLevelEntity(ComplexValue lowerLevelEntity)
Sets lower level entity.
|
abstract SComplexValue |
toSerializable(SModelInstance smi,
MarshallerConfig config)
Creates a serializable object.
|
clear, collect, findReplacementId, getCompiledType, getHandle, getId, getModelInstance, getType, isPersistent, isRemoved, rebind, toSimpleValue, toValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetReferencesprotected ComplexValueWithEvalLevels(ComplexValueWithEvalLevels source, ModelInstance targetModelInstance)
source - targetModelInstance - protected ComplexValueWithEvalLevels(SComplexValue source, ModelInstance modelInstance)
protected ComplexValueWithEvalLevels(long id,
ModelInstance modelInstance,
java.lang.String type,
boolean register,
java.lang.String level,
long baseLevelValueId,
ComplexValue lowerLevelValue)
ComplexValueWithEvalLevels.id - modelInstance - type - register - level - baseLevelValueId - lowerLevelValue - java.lang.NullPointerException - if modelInstance or type is nullprotected ComplexValueWithEvalLevels(long id,
ModelInstance modelInstance,
java.lang.String type,
boolean register)
ComplexValueWithEvalLevels.id - modelInstance - type - register - java.lang.NullPointerException - if modelInstance or type is nullpublic abstract SComplexValue toSerializable(SModelInstance smi, MarshallerConfig config)
toSerializable in interface ValuetoSerializable in class ComplexValuesmi - config - protected void fillSerializable(SComplexValue s, SModelInstance smi, MarshallerConfig config)
fillSerializable in class ComplexValues - smi - config - public java.lang.String getEvaluationLevel()
getEvaluationLevel in interface EvaluationLevelAwaregetEvaluationLevel in class ComplexValuepublic void replaceIdAndEvaluationLevel(long newId,
long newBaseId)
ComplexValuereplaceIdAndEvaluationLevel in class ComplexValuepublic void replaceReferencedIds(java.util.Map<java.lang.Long,java.lang.Long> replacementMap)
replaceReferencedIds in interface EvaluationLevelAwarereplaceReferencedIds in class ComplexValuereplacementMap - public long getBaseLevelEntityId()
getBaseLevelEntityId in interface EvaluationLevelAwaregetBaseLevelEntityId in class ComplexValuepublic ComplexValue getBaseLevelEntity()
getBaseLevelEntity in interface EvaluationLevelAwaregetBaseLevelEntity in class ComplexValuepublic java.lang.Long getLowerLevelEntityId()
getLowerLevelEntityId in interface EvaluationLevelAwaregetLowerLevelEntityId in class ComplexValuepublic ComplexValue getLowerLevelEntity()
getLowerLevelEntity in interface EvaluationLevelAwaregetLowerLevelEntity in class ComplexValuepublic void setLowerLevelEntity(ComplexValue lowerLevelEntity)
setLowerLevelEntity in class ComplexValuelowerLevelEntity - protected void convertToDirectReferences()
convertToDirectReferences in class ComplexValuepublic void refreshDirectReferences()
EvaluationLevelAwarerefreshDirectReferences in interface EvaluationLevelAwarerefreshDirectReferences in class ComplexValuepublic void finishCopy(com.whitestein.lsps.engine.state.xml.Copiable source,
CopyHelper helper)
finishCopy in class ComplexValuepublic com.whitestein.lsps.engine.state.xml.Copiable createCopy(ModelInstance targetModelInstance)
targetModelInstance - Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.