public interface ModificationAware
resetModified()).ModificationAwareExt.
This can for example used with persistence frameworks to decide if a bean has been touched in prior code and needs to be stored.
| Modifier and Type | Method and Description |
|---|---|
boolean |
isModified() |
void |
resetModified()
Sets a bean to not modified.
|
boolean isModified()
true if the bean is dirty, that is, if a setter has
been called since creation or last resetModified()void resetModified()