Class ChangeCalculator
java.lang.Object
cz.cvut.kbss.jopa.sessions.change.ChangeCalculator
Calculates changes made on objects by comparing a clone with its registered original.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
calculateChanges
(ObjectChangeSet changeSet) Calculates the changes that happened to the clone object.
-
Constructor Details
-
ChangeCalculator
-
-
Method Details
-
calculateChanges
Calculates the changes that happened to the clone object.The changes are written into the
Change
passed in as argument.- Parameters:
changeSet
- Contains references to the original and clone objects. Into this change set the changes should be propagated- Returns:
true
if there were any changes,false
otherwise- Throws:
NullPointerException
- IfchangeSet
isnull
-