Interface ModificationAwareExt

    • Method Detail

      • getModifiedFieldNames

        String[] getModifiedFieldNames()
        Gives the names of all bean fields that have been modified since creation or respectively since the last call of ModificationAware.resetModified().
        Returns:
        a string array containing the names of the modified fields. If no fields have been modified an empty array will be returned. The names of the fields are deducible from the getter and setter names depending on the bean style.
        The order of field names returned is random and not be reliable!
      • allFieldsModified

        boolean allFieldsModified()
        Checks if every field has been set since creation or ModificationAware.resetModified(). Can for example be used as a runtime check if an initialization has been complete.
        Returns:
        true if each setter had been called