Class LazyPrismContainerValue<C extends Containerable>
java.lang.Object
com.evolveum.midpoint.prism.AbstractFreezable
com.evolveum.midpoint.prism.lazy.LazyXNodeBasedPrismValue<MapXNodeImpl,PrismContainerValue<C>>
com.evolveum.midpoint.prism.impl.lazy.LazyPrismContainerValue<C>
- All Implemented Interfaces:
PrismContainerValueDelegator<C>,Freezable,MidpointOriginMetadata,ParentVisitable,PathVisitable,PrismContainerValue<C>,PrismValue,PrismVisitable,Revivable,SchemaLookup.Aware,Visitable,Walkable,DebugDumpable,Serializable
public class LazyPrismContainerValue<C extends Containerable>
extends LazyXNodeBasedPrismValue<MapXNodeImpl,PrismContainerValue<C>>
implements PrismContainerValueDelegator<C>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.evolveum.midpoint.prism.lazy.LazyXNodeBasedPrismValue
LazyXNodeBasedPrismValue.Source<M extends XNode>Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismContainerValue
PrismContainerValue.RemovedItemDefinitionException -
Field Summary
FieldsFields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING -
Constructor Summary
ConstructorsConstructorDescriptionLazyPrismContainerValue(ComplexTypeDefinition ctd, ParsingContext parsingContext, @NotNull MapXNodeImpl xnode) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidacceptParentVisitor(Visitor visitor) applyDefinition(@NotNull ItemDefinition<?> itemDefinition, boolean force) Definition application MAY change the value (currently only for container values).clone()Literal clone.cloneComplex(@NotNull CloneStrategy strategy) Complex clone with different cloning strategies.debugDump(int indent) delegate()booleanequals(PrismValue otherValue, @NotNull EquivalenceStrategy strategy) getId()booleanLike isEmpty but ignores presence of container value ID.booleanisEmpty()booleanisIdOnly()protected PrismContainerValue<C>protected voidvoidMethods inherited from class com.evolveum.midpoint.prism.lazy.LazyXNodeBasedPrismValue
hasSameSource, isMaterialized, isNotMaterialized, materialized, xnodeMethods inherited from class com.evolveum.midpoint.prism.AbstractFreezable
freeze, freeze, freezeAll, freezeNullableList, isImmutable, isMutableMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazilyMethods inherited from interface com.evolveum.midpoint.prism.PrismContainerValue
acceptVisitorMethods inherited from interface com.evolveum.midpoint.prism.deleg.PrismContainerValueDelegator
accept, add, add, addAll, addAllReplaceExisting, addRawElement, addReplaceExisting, applyDefinition, applyDefinition, applyDefinitionLegacy, applyDefinitionLegacy, asContainerable, asContainerable, assertDefinitions, assertDefinitions, asSingleValuedContainer, canRepresent, checkConsistenceInternal, checkImmutable, checkMutable, checkNothingExceptFor, clear, clearParent, cloneIfImmutable, contains, contains, containsItem, createDetachedSubItem, createImmutableClone, createProperty, createProperty, deleteRawElement, deleteValueMetadata, diff, equals, equivalent, find, findContainer, findItem, findItem, findItem, findOrCreateContainer, findOrCreateItem, findOrCreateItem, findOrCreateItem, findOrCreateProperty, findOrCreateProperty, findOrCreateReference, findPartial, findProperty, findProperty, findReference, freeze, getAllItems, getAllValues, getCompileTimeClass, getComplexTypeDefinition, getContainer, getItemNames, getItemRealValue, getItems, getNearestValueOfType, getOriginObject, getOriginType, getParentContainerValue, getPath, getProperties, getPropertyRealValue, getRealClass, getRealValue, getRealValueIfExists, getRealValueOrRawType, getRootValue, getSchemaContext, getUserData, getUserData, getValue, getValueMetadata, getValueMetadataAsContainer, getValueMetadataIfExists, hasCompleteDefinition, hashCode, hashCode, hasRealClass, hasValueMetadata, isImmutable, isObjectable, isOfType, isRaw, isTransient, keepPaths, merge, mergeContent, normalize, recompute, recompute, remove, removeAll, removeContainer, removeItem, removeItems, removeMetadataFromPaths, removeOperationalItems, removePaths, removeProperty, removeRawElement, removeReference, replace, representsSameValue, revive, schemaLookup, setId, setOriginObject, setOriginType, setOriginTypeRecursive, setPropertyRealValue, setTransient, setUserData, setValueMetadata, setValueMetadata, setValueMetadata, size, subtract, toHumanReadableString, walkMethods inherited from interface com.evolveum.midpoint.prism.PrismValue
getRootObjectable
-
Field Details
-
complexTypeDefinition
-
-
Constructor Details
-
LazyPrismContainerValue
public LazyPrismContainerValue(ComplexTypeDefinition ctd, ParsingContext parsingContext, @NotNull @NotNull MapXNodeImpl xnode) -
LazyPrismContainerValue
-
-
Method Details
-
getId
- Specified by:
getIdin interfacePrismContainerValue<C extends Containerable>
-
isIdOnly
public boolean isIdOnly()- Specified by:
isIdOnlyin interfacePrismContainerValue<C extends Containerable>
-
clone
Description copied from interface:PrismValueLiteral clone.- Specified by:
clonein interfacePrismContainerValue<C extends Containerable>- Specified by:
clonein interfacePrismValue- Overrides:
clonein classObject
-
getTypeName
- Specified by:
getTypeNamein interfacePrismValue
-
delegate
- Specified by:
delegatein interfacePrismContainerValueDelegator<C extends Containerable>
-
materialize
- Specified by:
materializein classLazyXNodeBasedPrismValue<MapXNodeImpl,PrismContainerValue<C extends Containerable>>
-
setParent
- Specified by:
setParentin interfacePrismContainerValueDelegator<C extends Containerable>- Specified by:
setParentin interfacePrismValue
-
accept
- Specified by:
acceptin interfacePrismContainerValue<C extends Containerable>- Specified by:
acceptin interfacePrismContainerValueDelegator<C extends Containerable>- Specified by:
acceptin interfacePrismValue- Specified by:
acceptin interfaceVisitable<C extends Containerable>
-
acceptParentVisitor
- Specified by:
acceptParentVisitorin interfaceParentVisitable- Specified by:
acceptParentVisitorin interfacePrismContainerValue<C extends Containerable>- Specified by:
acceptParentVisitorin interfacePrismContainerValueDelegator<C extends Containerable>
-
getParent
- Specified by:
getParentin interfacePrismContainerValue<C extends Containerable>- Specified by:
getParentin interfacePrismContainerValueDelegator<C extends Containerable>- Specified by:
getParentin interfacePrismValue
-
applyDefinition
public PrismContainerValue<C> applyDefinition(@NotNull @NotNull ItemDefinition<?> itemDefinition, boolean force) throws SchemaException Description copied from interface:PrismValueDefinition application MAY change the value (currently only for container values). The caller must deal with that.- Specified by:
applyDefinitionin interfacePrismContainerValue<C extends Containerable>- Specified by:
applyDefinitionin interfacePrismContainerValueDelegator<C extends Containerable>- Specified by:
applyDefinitionin interfacePrismValue- Throws:
SchemaException
-
debugDump
- Specified by:
debugDumpin interfaceDebugDumpable
-
getDefinition
- Specified by:
getDefinitionin interfacePrismContainerValue<C extends Containerable>- Specified by:
getDefinitionin interfacePrismContainerValueDelegator<C extends Containerable>
-
cloneComplex
Description copied from interface:PrismValueComplex clone with different cloning strategies.- Specified by:
cloneComplexin interfacePrismContainerValue<C extends Containerable>- Specified by:
cloneComplexin interfacePrismContainerValueDelegator<C extends Containerable>- Specified by:
cloneComplexin interfacePrismValue- See Also:
-
performFreeze
protected void performFreeze()- Overrides:
performFreezein classAbstractFreezable
-
equals
- Specified by:
equalsin interfacePrismContainerValueDelegator<C extends Containerable>- Specified by:
equalsin interfacePrismValue
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfacePrismContainerValueDelegator<C extends Containerable>- Specified by:
isEmptyin interfacePrismValue
-
hasNoItems
public boolean hasNoItems()Description copied from interface:PrismContainerValueLike isEmpty but ignores presence of container value ID.- Specified by:
hasNoItemsin interfacePrismContainerValue<C extends Containerable>- Specified by:
hasNoItemsin interfacePrismContainerValueDelegator<C extends Containerable>
-