public interface MapUpdateHelper<C,I> extends ContainerUpdateHelper<C,I>
Created: October 03 2015
MapUpdatingValidator
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Modifier and Type | Method and Description |
---|---|
void |
putNewTargetValue(C pTargetMap,
java.lang.String pKey,
I pTargetValue,
ValidatorContext<?> pContext)
Add a put a target value to the target map.
|
void |
removeKeyFromMap(java.lang.String pKey,
java.lang.Object pMapDst,
ValidatorContext<?> pContext)
Remove the key pKey from the map pMapDst.
|
createMatchingTargetAlsoAdds, createMatchingTargetItem, createTargetContainer, createTargetContainerAlsoSetsAsProperty
static final java.lang.String CLASS_VERSION
void removeKeyFromMap(java.lang.String pKey, java.lang.Object pMapDst, ValidatorContext<?> pContext) throws PropertyNotFoundException
pKey
- the key to remove from the mappMapDst
- the destination map from which to remove the keypContext
- the current update context.PropertyNotFoundException
void putNewTargetValue(C pTargetMap, java.lang.String pKey, I pTargetValue, ValidatorContext<?> pContext) throws PropertyNotFoundException
pTargetMap
- the map to add the value to.pKey
- the key to add to the target map.pTargetValue
- the new value to add to the map.pContext
- the update context.PropertyNotFoundException