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 PrismValue
clone()
Literal clone.void
freeze()
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 PrismReferenceValue
from
(@NotNull PrismReferenceValue value) static PrismValue
from
(@Nullable PrismValue value) @Nullable Itemable
boolean
void
revive
(PrismContext prismContext) TODO: Is revive necessary if prism context is static?void
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable
Methods inherited from interface com.evolveum.midpoint.prism.PrismValue
copy, immutableCopy, mutableCopy
Methods 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:
getParent
in interfacePrismValue
- Specified by:
getParent
in interfacePrismValueDelegator
-
setParent
- Specified by:
setParent
in interfacePrismValue
- Specified by:
setParent
in interfacePrismValueDelegator
-
clone
Description copied from interface:PrismValue
Literal clone.- Specified by:
clone
in interfacePrismValue
- Specified by:
clone
in interfacePrismValueDelegator
- Overrides:
clone
in classObject
-
revive
Description copied from interface:Revivable
TODO: Is revive necessary if prism context is static? TODO document (if it's found to be necessary) -
isImmutable
public boolean isImmutable()- Specified by:
isImmutable
in interfaceFreezable
-
freeze
public void freeze()Description copied from interface:Freezable
Should be no-op (or very quick) if the object is already immutable.
-