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
public abstract class PrismValueWrapperImpl<T> extends Object implements PrismValueWrapper<T>
- Author:
- katka
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <D extends ItemDelta<PrismValue,? extends ItemDefinition>>
voidaddToDelta(D delta)StringdebugDump(int indent)<V extends PrismValue>
VgetNewValue()<V extends PrismValue>
VgetOldValue()<IW extends ItemWrapper>
IWgetParent()<C extends Containerable>
PrismContainerValueWrapper<C>getParentContainerValue(@NotNull Class<? extends C> parentClass)TgetRealValue()ValueStatusgetStatus()ValueMetadataWrapperImplgetValueMetadata()protected booleanisChanged()booleanisShowMetadata()booleanisVisible()voidsetShowMetadata(boolean showMetadata)voidsetStatus(ValueStatus status)voidsetValueMetadata(ValueMetadataWrapperImpl valueMetadata)StringtoShortString()-
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 Detail
-
addToDelta
public <D extends ItemDelta<PrismValue,? extends ItemDefinition>> void addToDelta(D delta) throws SchemaException
- Specified by:
addToDeltain interfacePrismValueWrapper<T>- Throws:
SchemaException
-
isChanged
protected boolean isChanged()
-
getRealValue
public T getRealValue()
- Specified by:
getRealValuein interfacePrismValueWrapper<T>
-
getNewValue
public <V extends PrismValue> V getNewValue()
- Specified by:
getNewValuein interfacePrismValueWrapper<T>
-
getOldValue
public <V extends PrismValue> V getOldValue()
- Specified by:
getOldValuein interfacePrismValueWrapper<T>
-
getParent
public <IW extends ItemWrapper> IW getParent()
- Specified by:
getParentin interfacePrismValueWrapper<T>
-
getStatus
public ValueStatus getStatus()
- Specified by:
getStatusin interfacePrismValueWrapper<T>
-
setStatus
public void setStatus(ValueStatus status)
- Specified by:
setStatusin interfacePrismValueWrapper<T>
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDumpin interfaceDebugDumpable
-
isVisible
public boolean isVisible()
- Specified by:
isVisiblein interfacePrismValueWrapper<T>
-
setValueMetadata
public void setValueMetadata(ValueMetadataWrapperImpl valueMetadata)
- Specified by:
setValueMetadatain interfacePrismValueWrapper<T>
-
getValueMetadata
public ValueMetadataWrapperImpl getValueMetadata()
- Specified by:
getValueMetadatain interfacePrismValueWrapper<T>
-
isShowMetadata
public boolean isShowMetadata()
- Specified by:
isShowMetadatain interfacePrismValueWrapper<T>
-
setShowMetadata
public void setShowMetadata(boolean showMetadata)
- Specified by:
setShowMetadatain interfacePrismValueWrapper<T>
-
toShortString
public String toShortString()
- Specified by:
toShortStringin interfacePrismValueWrapper<T>
-
getParentContainerValue
public <C extends Containerable> PrismContainerValueWrapper<C> getParentContainerValue(@NotNull @NotNull Class<? extends C> parentClass)
- Specified by:
getParentContainerValuein interfacePrismValueWrapper<T>
-
-