public interface ModificationAwareExt extends ModificationAware
ModificationAware with functionality to determine which
fields have been modified.ModificationAware| Modifier and Type | Method and Description |
|---|---|
boolean |
allFieldsModified()
Checks if every field has been set since creation or
ModificationAware.resetModified(). |
String[] |
getModifiedFieldNames()
Gives the names of all bean fields that have been modified since creation
or respectively since the last call of
ModificationAware.resetModified(). |
isModified, resetModifiedString[] getModifiedFieldNames()
ModificationAware.resetModified().boolean allFieldsModified()
ModificationAware.resetModified(). Can for example be used as a runtime check if
an initialization has been complete.true if each setter had been called