Class PrismValueWrapperImpl<T>
java.lang.Object
com.evolveum.midpoint.gui.impl.prism.wrapper.PrismValueWrapperImpl<T>
- All Implemented Interfaces:
PrismValueWrapper<T>
,DebugDumpable
,Serializable
- Direct Known Subclasses:
PrismContainerValueWrapperImpl
,PrismPropertyValueWrapper
,PrismReferenceValueWrapperImpl
- Author:
- katka
- See Also:
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Method Summary
Modifier and TypeMethodDescription<D extends ItemDelta<PrismValue,
? extends ItemDefinition>>
voidaddToDelta
(D delta) debugDump
(int indent) <V extends PrismValue>
Vprotected <V extends PrismValue>
V<V extends PrismValue>
V<IW extends ItemWrapper>
IW<C extends Containerable>
PrismContainerValueWrapper<C>getParentContainerValue
(@NotNull Class<? extends C> parentClass) getPreconditionDeltas
(ModelServiceLocator serviceLocator, OperationResult result) Collect processor with deltas and consumer, that should be processed before basic deltas of showed objectprotected boolean
boolean
boolean
protected final void
setNewValue
(PrismValue newValue) void
setShowMetadata
(boolean showMetadata) void
setStatus
(ValueStatus status) void
setValueMetadata
(ValueMetadataWrapperImpl valueMetadata) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
Methods inherited from interface com.evolveum.midpoint.gui.api.prism.wrapper.PrismValueWrapper
setRealValue
-
Method Details
-
addToDelta
public <D extends ItemDelta<PrismValue,? extends ItemDefinition>> void addToDelta(D delta) throws SchemaException - Specified by:
addToDelta
in interfacePrismValueWrapper<T>
- Throws:
SchemaException
-
isChanged
protected boolean isChanged() -
getRealValue
- Specified by:
getRealValue
in interfacePrismValueWrapper<T>
-
getNewValue
- Specified by:
getNewValue
in interfacePrismValueWrapper<T>
-
getNewValueWithMetadataApplied
- Throws:
SchemaException
-
getOldValue
- Specified by:
getOldValue
in interfacePrismValueWrapper<T>
-
getParent
- Specified by:
getParent
in interfacePrismValueWrapper<T>
-
getStatus
- Specified by:
getStatus
in interfacePrismValueWrapper<T>
-
setStatus
- Specified by:
setStatus
in interfacePrismValueWrapper<T>
-
debugDump
- Specified by:
debugDump
in interfaceDebugDumpable
-
isVisible
public boolean isVisible()- Specified by:
isVisible
in interfacePrismValueWrapper<T>
-
setValueMetadata
- Specified by:
setValueMetadata
in interfacePrismValueWrapper<T>
-
getValueMetadata
- Specified by:
getValueMetadata
in interfacePrismValueWrapper<T>
-
isShowMetadata
public boolean isShowMetadata()- Specified by:
isShowMetadata
in interfacePrismValueWrapper<T>
-
setShowMetadata
public void setShowMetadata(boolean showMetadata) - Specified by:
setShowMetadata
in interfacePrismValueWrapper<T>
-
toShortString
- Specified by:
toShortString
in interfacePrismValueWrapper<T>
-
getParentContainerValue
public <C extends Containerable> PrismContainerValueWrapper<C> getParentContainerValue(@NotNull @NotNull Class<? extends C> parentClass) - Specified by:
getParentContainerValue
in interfacePrismValueWrapper<T>
-
getPreconditionDeltas
public Collection<ExecutedDeltaPostProcessor> getPreconditionDeltas(ModelServiceLocator serviceLocator, OperationResult result) throws CommonException Description copied from interface:PrismValueWrapper
Collect processor with deltas and consumer, that should be processed before basic deltas of showed object- Specified by:
getPreconditionDeltas
in interfacePrismValueWrapper<T>
- Throws:
CommonException
-
setNewValue
-