public interface Mergeable
ManagedSet,
ManagedList,
ManagedMap,
ManagedPropertiesboolean isMergeEnabled()
Object merge(@Nullable Object parent)
The supplied object is considered the parent, and values in the callee's value set must override those of the supplied object.
parent - the object to merge withIllegalArgumentException - if the supplied parent is nullIllegalStateException - if merging is not enabled for this instance
(i.e. mergeEnabled equals false).