Interface PropertyDelta<T>

All Superinterfaces:
DebugDumpable, Foreachable<PrismPropertyValue<T>>, Freezable, Itemable, ItemDelta<PrismPropertyValue<T>,PrismPropertyDefinition<T>>, PathVisitable, PrismContextSensitive, Serializable, Visitable

public interface PropertyDelta<T> extends ItemDelta<PrismPropertyValue<T>,PrismPropertyDefinition<T>>
Relative difference (delta) of a property values.

This class describes what values are to be added, removed or replaced in the property. The delta can be either add+delete or replace, but not both. It either describes what values to add and delete from the property (add+delete) or what is the new set of values (replace). Add+delete deltas can be merged without a loss. There are ideal for multi-value properties. If replace deltas are merged, only the last value will be present. These are better suited for single-value properties.

Author:
Radovan Semancik
See Also: