Interface ValueChanges
-
public interface ValueChangesRepresents changes applied on a record.- Since:
- 5.2.5
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ValueChangegetChange(Path aPath)Returns the change for the specified path.Iterator<ValueChange>getChangesIterator()Returns an iterator over the changes.intgetNumberOfChanges()Returns the number of changes.
-
-
-
Method Detail
-
getChange
ValueChange getChange(Path aPath)
Returns the change for the specified path.- Parameters:
aPath- path of the terminal node, either thelocal absolute path, or the local absolute path preceded by./.- Returns:
- the change for the specified path; returns
nullif 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:
SchemaNode.isTerminalValue()
-
getChangesIterator
Iterator<ValueChange> getChangesIterator()
Returns an iterator over the changes.- Returns:
- an iterator over
ValueChangeelements. This iterator does not allow modifying the underlying collection.
-
getNumberOfChanges
int getNumberOfChanges()
Returns the number of changes.
-
-