Package com.evolveum.midpoint.prism.lazy
Class FlyweightClonedValue
java.lang.Object
com.evolveum.midpoint.prism.lazy.FlyweightClonedValue
- All Implemented Interfaces:
ComplexCopyable<PrismValue>,PrismValueDelegator,Freezable,MidpointOriginMetadata,PathVisitable,PrismValue,PrismVisitable,Revivable,SchemaLookup.Aware,Visitable,DebugDumpable,Serializable
- See Also:
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract PrismValueclone()Literal clone.voidfreeze()Should be no-op (or very quick) if the object is already immutable.static <C extends Containerable>
PrismContainerValue<C>from(@NotNull PrismContainerValue<C> value) static <O extends Objectable>
PrismObjectValue<O>from(@NotNull PrismObjectValue<O> value) static <T> PrismPropertyValue<T>from(@NotNull PrismPropertyValue<T> value) static PrismReferenceValuefrom(@NotNull PrismReferenceValue value) static PrismValuefrom(@Nullable PrismValue value) @Nullable Itemablebooleanvoidrevive(PrismContext prismContext) TODO: Is revive necessary if prism context is static?voidMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutableMethods inherited from interface com.evolveum.midpoint.prism.PrismValue
copy, immutableCopy, mutableCopyMethods inherited from interface com.evolveum.midpoint.prism.deleg.PrismValueDelegator
accept, accept, acceptVisitor, applyDefinition, applyDefinition, applyDefinitionLegacy, applyDefinitionLegacy, checkConsistenceInternal, clearParent, cloneComplex, cloneIfImmutable, createImmutableClone, debugDump, debugDump, debugDumpLazily, debugDumpLazily, delegate, deleteValueMetadata, diff, equals, equals, find, getAllItems, getAllValues, getNearestValueOfType, getOriginObject, getOriginType, getParentContainerValue, getPath, getRealClass, getRealValue, getRealValueIfExists, getRealValueOrRawType, getRootObjectable, getRootValue, getSchemaContext, getTypeName, getUserData, getUserData, getValueMetadata, getValueMetadataAsContainer, getValueMetadataIfExists, hashCode, hashCode, hasRealClass, hasValueMetadata, isEmpty, isObjectable, isOfType, isRaw, isTransient, normalize, recompute, recompute, representsSameValue, schemaLookup, setOriginObject, setOriginType, setTransient, setUserData, setValueMetadata, setValueMetadata, setValueMetadata, toHumanReadableString
-
Constructor Details
-
FlyweightClonedValue
public FlyweightClonedValue()
-
-
Method Details
-
from
-
from
-
from
public static <C extends Containerable> PrismContainerValue<C> from(@NotNull @NotNull PrismContainerValue<C> value) -
from
public static <O extends Objectable> PrismObjectValue<O> from(@NotNull @NotNull PrismObjectValue<O> value) -
from
-
getParent
- Specified by:
getParentin interfacePrismValue- Specified by:
getParentin interfacePrismValueDelegator
-
setParent
- Specified by:
setParentin interfacePrismValue- Specified by:
setParentin interfacePrismValueDelegator
-
clone
Description copied from interface:PrismValueLiteral clone.- Specified by:
clonein interfacePrismValue- Specified by:
clonein interfacePrismValueDelegator- Overrides:
clonein classObject
-
revive
Description copied from interface:RevivableTODO: Is revive necessary if prism context is static? TODO document (if it's found to be necessary) -
isImmutable
public boolean isImmutable()- Specified by:
isImmutablein interfaceFreezable
-
freeze
public void freeze()Description copied from interface:FreezableShould be no-op (or very quick) if the object is already immutable.
-