Package cz.cvut.kbss.jopa.sessions.merge
Class DefaultValueMerger
java.lang.Object
cz.cvut.kbss.jopa.sessions.merge.DefaultValueMerger
- All Implemented Interfaces:
- ValueMerger
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidmergeValue(FieldSpecification<?, ?> att, Object target, Object mergedValue) voidmergeValue(Object target, ChangeRecord changeRecord, Descriptor attributeDescriptor) Merges new value specified by the change record into the target object.
- 
Constructor Details- 
DefaultValueMergerpublic DefaultValueMerger()
 
- 
- 
Method Details- 
mergeValue
- 
mergeValueDescription copied from interface:ValueMergerMerges new value specified by the change record into the target object.Note that the change record may be modified during the merge (e.g., in case the new value is a detached instance of a managed type and a corresponding object needs to be loaded from the underlying repository). - Specified by:
- mergeValuein interface- ValueMerger
- Parameters:
- target- Target of the merge
- changeRecord- Description of the change (including the new value)
- attributeDescriptor- Specifies context of the merged attribute
 
 
-