|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Mergeable
Interface representing an object whose value set can be merged with that of a parent object.
ManagedSet
,
ManagedList
,
ManagedMap
,
ManagedProperties
Method Summary | |
---|---|
boolean |
isMergeEnabled()
Is merging enabled for this particular instance? |
java.lang.Object |
merge(java.lang.Object parent)
Merge the current value set with that of the supplied object. |
Method Detail |
---|
boolean isMergeEnabled()
java.lang.Object merge(java.lang.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 with
java.lang.IllegalArgumentException
- if the supplied parent is null
java.lang.IllegalStateException
- if merging is not enabled for this instance
(i.e. mergeEnabled
equals false
).
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |