public class ListValue extends CollectionValue
modelInstance
Modifier | Constructor and Description |
---|---|
protected |
ListValue(ListValue source,
ModelInstance targetModelInstance)
Creates new copy instance of
ListValue . |
|
ListValue(long id,
ModelInstance modelInstance,
String type,
Collection<? extends Value> values)
Creates new instance of
ListValue . |
|
ListValue(long id,
ModelInstance modelInstance,
String type,
Collection<? extends Value> values,
String level,
long baseLevelValueId,
ListValue lowerLevelValue)
Creates new instance of
ListValue . |
|
ListValue(ModelInstance modelInstance,
String type,
Collection<? extends Value> values)
Creates new instance of
ListValue . |
|
ListValue(ModelInstance modelInstance,
String type,
Collection<? extends Value> values,
String level,
long baseLevelValueId,
ListValue lowerLevelValue)
Creates new instance of
ListValue . |
|
ListValue(SListValue source,
ModelInstance modelInstance)
Creates a new instance from the serialized companion.
|
Modifier and Type | Method and Description |
---|---|
<T,E extends Throwable> |
accept(ValueVisitor<T,E> visitor)
Accepts visitor.
|
ListValue |
createCopy(ModelInstance targetModelInstance)
Creates a copy without references to other objects.
|
SListValue |
toSerializable(SModelInstance smi,
MarshallerConfig config)
Creates a serializable object.
|
convertToDirectReferences, fillSerializable, finishCopy, get, getReferences, rebind, refreshDirectReferences, replaceReferencedIds, setValues, size, toString, values
fillSerializable, getBaseLevelEntity, getBaseLevelEntityId, getEvaluationLevel, getLowerLevelEntity, getLowerLevelEntityId, replaceIdAndEvaluationLevel, setLowerLevelEntity
clear, collect, findReplacementId, getCompiledType, getHandle, getId, getModelInstance, getType, isPersistent, isRemoved, toSimpleValue, toValue
protected ListValue(ListValue source, ModelInstance targetModelInstance)
ListValue
.source
- targetModelInstance
- public ListValue(SListValue source, ModelInstance modelInstance)
source
- modelInstance
- public ListValue(long id, ModelInstance modelInstance, String type, Collection<? extends Value> values, String level, long baseLevelValueId, ListValue lowerLevelValue)
ListValue
.id
- modelInstance
- type
- values
- contained valueslevel
- baseLevelValueId
- lowerLevelValue
- NullPointerException
- if modelInstance
or type
or values
is
null or values
contains nullpublic ListValue(long id, ModelInstance modelInstance, String type, Collection<? extends Value> values)
ListValue
.id
- modelInstance
- type
- values
- contained valuesNullPointerException
- if modelInstance
or type
or values
is
null or values
contains nullpublic ListValue(ModelInstance modelInstance, String type, Collection<? extends Value> values, String level, long baseLevelValueId, ListValue lowerLevelValue)
ListValue
.modelInstance
- type
- values
- contained valueslevel
- baseLevelValueId
- lowerLevelValue
- NullPointerException
- if modelInstance
or type
or values
is
null or values
contains nullpublic ListValue(ModelInstance modelInstance, String type, Collection<? extends Value> values)
ListValue
.modelInstance
- type
- values
- contained valuesNullPointerException
- if modelInstance
or type
or values
is
null or values
contains nullpublic <T,E extends Throwable> T accept(ValueVisitor<T,E> visitor) throws E extends Throwable
Value
E
E extends Throwable
public ListValue createCopy(ModelInstance targetModelInstance)
public SListValue toSerializable(SModelInstance smi, MarshallerConfig config)
ComplexValueWithEvalLevels
toSerializable
in interface Value
toSerializable
in class ComplexValueWithEvalLevels
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.