-
Method Summary
boolean
Decides if the hook can merge the two entities
void
Performs the merge of two entities
-
Method Details
-
consumes
Decides if the hook can merge the two entities
- Parameters:
oldInstance - the object to be merged
newInstance - the object with the target values
- Returns:
- true if merge is possible otherwise false
-
mergeEntity
Performs the merge of two entities
- Parameters:
oldInstance - the object to be merged
newInstance - the object with the target values
- Throws:
IllegalAccessException - if the merging of fields failed