public class ListValue extends CollectionValue
modelInstance
Modifier | Constructor and Description |
---|---|
protected |
ListValue()
Creates empty new 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,
Long lowestLevelValueId,
Long lowerLevelValueId)
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,
Long lowestLevelValueId,
Long lowerLevelValueId)
Creates new instance of
ListValue . |
Modifier and Type | Method and Description |
---|---|
<T,E extends Throwable> |
accept(ValueVisitor<T,E> visitor)
Accepts visitor.
|
ListValue |
makeCopy(ModelInstance targetModelInstance)
Creates copy of the value in the target model instance.
|
copyValues, get, getReferences, postUnmarshal, preUnmarshal, rebind, replaceReferencedIds, setValues, size, toString, values
clear, collect, commonAfterUnmarshal, createContext, findReplacementId, getBaseLevelEntity, getBaseLevelEntityId, getCompiledType, getEvaluationLevel, getHandle, getId, getLowerLevelEntity, getLowerLevelEntityId, getLowestLevelEntity, getLowestLevelEntityId, getModelInstance, getOwnContext, getType, internalVersionConflictMessage, isInternalyVersioned, isLocked, isLowestExistingEntity, isPersistent, isRemoved, replaceIdAndEvaluationLevel, setLowerLevelEntityId, setPersistent, toSimpleValue, toValue, updateLevelData
protected ListValue()
ListValue
.public ListValue(long id, ModelInstance modelInstance, String type, Collection<? extends Value> values, String level, Long baseLevelValueId, Long lowestLevelValueId, Long lowerLevelValueId)
ListValue
.id
- modelInstance
- type
- values
- contained valueslevel
- baseLevelValueId
- lowestLevelValueId
- lowerLevelValueId
- 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, Long lowestLevelValueId, Long lowerLevelValueId)
ListValue
.modelInstance
- type
- values
- contained valueslevel
- baseLevelValueId
- lowestLevelValueId
- lowerLevelValueId
- 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 makeCopy(ModelInstance targetModelInstance)
Value
Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.