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)
String
debugDump(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)
T
getRealValue()
ValueStatus
getStatus()
ValueMetadataWrapperImpl
getValueMetadata()
protected boolean
isChanged()
boolean
isShowMetadata()
boolean
isVisible()
void
setShowMetadata(boolean showMetadata)
void
setStatus(ValueStatus status)
void
setValueMetadata(ValueMetadataWrapperImpl valueMetadata)
String
toShortString()
-
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:
addToDelta
in interfacePrismValueWrapper<T>
- Throws:
SchemaException
-
isChanged
protected boolean isChanged()
-
getRealValue
public T getRealValue()
- Specified by:
getRealValue
in interfacePrismValueWrapper<T>
-
getNewValue
public <V extends PrismValue> V getNewValue()
- Specified by:
getNewValue
in interfacePrismValueWrapper<T>
-
getOldValue
public <V extends PrismValue> V getOldValue()
- Specified by:
getOldValue
in interfacePrismValueWrapper<T>
-
getParent
public <IW extends ItemWrapper> IW getParent()
- Specified by:
getParent
in interfacePrismValueWrapper<T>
-
getStatus
public ValueStatus getStatus()
- Specified by:
getStatus
in interfacePrismValueWrapper<T>
-
setStatus
public void setStatus(ValueStatus status)
- Specified by:
setStatus
in interfacePrismValueWrapper<T>
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
isVisible
public boolean isVisible()
- Specified by:
isVisible
in interfacePrismValueWrapper<T>
-
setValueMetadata
public void setValueMetadata(ValueMetadataWrapperImpl valueMetadata)
- Specified by:
setValueMetadata
in interfacePrismValueWrapper<T>
-
getValueMetadata
public ValueMetadataWrapperImpl 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
public String 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>
-
-