org.modeshape.jcr.federation.spi

## Interface DocumentChanges.PropertyChanges

- All Known Implementing Classes:
    FederatedDocumentChanges.FederatedPropertyChanges
  Enclosing interface:
    DocumentChanges

      public static interface DocumentChanges.PropertyChanges

  Interface which encapsulates the changes to a document's properties during an update operation.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Set<Name>` | `getAdded()` Returns the set of names of the added properties
    `Set<Name>` | `getChanged()` Returns the set of name of the changed properties (added + modified)
    `Set<Name>` | `getRemoved()` Returns the set of names of the removed properties
    `boolean` | `isEmpty()` Checks if there are any changes to the properties (removed/added/changed)

- - ### Method Detail

    - #### isEmpty

          boolean isEmpty()

      Checks if there are any changes to the properties (removed/added/changed)
      Returns:
        `true` if there aren't any changes, `false` otherwise

    - #### getChanged

          Set<Name> getChanged()

      Returns the set of name of the changed properties (added + modified)
      Returns:
        the set of names of the properties that were changed on this node; never null

    - #### getRemoved

          Set<Name> getRemoved()

      Returns the set of names of the removed properties
      Returns:
        the set of names of the properties that were removed from this node; never null

    - #### getAdded

          Set<Name> getAdded()

      Returns the set of names of the added properties
      Returns:
        the set of names of the properties that were added to this node; never null

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.