public class SetValue extends CollectionValue
modelInstance
Modifier | Constructor and Description |
---|---|
|
SetValue(long id,
ModelInstance modelInstance,
String type,
Collection<? extends Value> values)
Creates new instance of
SetValue . |
|
SetValue(long id,
ModelInstance modelInstance,
String type,
Collection<? extends Value> values,
String level,
long baseLevelValueId,
SetValue lowerLevelValue)
Creates new instance of
SetValue . |
|
SetValue(ModelInstance modelInstance,
String type,
Collection<? extends Value> values)
Creates new instance of
SetValue . |
|
SetValue(ModelInstance modelInstance,
String type,
Collection<? extends Value> values,
String level,
long baseLevelValueId,
SetValue lowerLevelValue)
Creates new instance of
SetValue . |
protected |
SetValue(SetValue source,
ModelInstance targetModelInstance)
Creates new copy instance of
SetValue . |
|
SetValue(SSetValue 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.
|
SetValue |
createCopy(ModelInstance targetModelInstance)
Creates a copy without references to other objects.
|
SSetValue |
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 SetValue(SetValue source, ModelInstance targetModelInstance)
SetValue
.source
- targetModelInstance
- public SetValue(SSetValue source, ModelInstance modelInstance)
source
- modelInstance
- public SetValue(long id, ModelInstance modelInstance, String type, Collection<? extends Value> values, String level, long baseLevelValueId, SetValue lowerLevelValue)
SetValue
.id
- modelInstance
- type
- values
- contained valueslevel
- baseLevelValueId
- lowerLevelValue
- NullPointerException
- if modelInstance
or type
or values
null or values
contain nullpublic SetValue(long id, ModelInstance modelInstance, String type, Collection<? extends Value> values)
SetValue
.id
- modelInstance
- type
- values
- contained valuesNullPointerException
- if modelInstance
or type
or values
null or values
contain nullpublic SetValue(ModelInstance modelInstance, String type, Collection<? extends Value> values, String level, long baseLevelValueId, SetValue lowerLevelValue)
SetValue
.modelInstance
- type
- values
- contained valueslevel
- baseLevelValueId
- lowerLevelValue
- NullPointerException
- if modelInstance
or type
or values
null or values
contain nullpublic SetValue(ModelInstance modelInstance, String type, Collection<? extends Value> values)
SetValue
.modelInstance
- type
- values
- contained valuesNullPointerException
- if modelInstance
or type
or values
null or values
contain nullpublic <T,E extends Throwable> T accept(ValueVisitor<T,E> visitor) throws E extends Throwable
Value
E
E extends Throwable
public SetValue createCopy(ModelInstance targetModelInstance)
public SSetValue toSerializable(SModelInstance smi, MarshallerConfig config)
ComplexValueWithEvalLevels
toSerializable
in interface Value
toSerializable
in class ComplexValueWithEvalLevels
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.