Interface ValueChanges


public interface ValueChanges
Represents changes applied on a record.
Since:
5.2.5
  • Method Details

    • getChange

      ValueChange getChange(Path aPath)
      Returns the change for the specified path.
      Parameters:
      aPath - path of the terminal node, either the local absolute path, or the local absolute path preceded by ./.
      Returns:
      the change for the specified path; returns null if the corresponding node has not been modified, if it is not a terminal node, or if it does not exist.
      Throws:
      IllegalArgumentException - if the specified path begins with ../
      See Also:
    • getChangesIterator

      Iterator<ValueChange> getChangesIterator()
      Returns an iterator over the changes.
      Returns:
      an iterator over ValueChange elements. This iterator does not allow modifying the underlying collection.
    • getNumberOfChanges

      int getNumberOfChanges()
      Returns the number of changes.