Merge pull request #2107 from ebean-orm/feature/ModifyAwareType

Refactor io.ebeaninternal.json.ModifyAwareOwner to io.ebean.ModifyAwareType
This commit is contained in:
Rob Bygrave authored and GitHub committed 2020-11-24 22:05:04 +13:00
commit 21f43dc395
19 files changed
+314 -90

No files matched your search

@@ -0,0 +1,19 @@
package io.ebean;
/**
* Owner object notified when a modification is detected.
*/
public interface ModifyAwareType {
/**
* Return true if the value is considered dirty.
* Note that this resets the dirty status back to clean.
*/
boolean isMarkedDirty();
/**
* Marks the object as modified.
*/
void setMarkedDirty(boolean markedDirty);
}