org.modeshape.jcr.spi.federation

## Interface DocumentChanges.MixinChanges

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

      public static interface DocumentChanges.MixinChanges

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

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Set<Name>` | `getAdded()` Returns the set of names of the mixins that have been added.
    `Set<Name>` | `getRemoved()` Returns the set of names of the mixins that have been removed.
    `boolean` | `isEmpty()` Checks if there are any changes to the mixins (removed/added)

- - ### Method Detail

    - #### isEmpty

          boolean isEmpty()

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

    - #### getAdded

          Set<Name> getAdded()

      Returns the set of names of the mixins that have been added.
      Returns:
        the set of node type names that were added as a mixin on this node; never null

    - #### getRemoved

          Set<Name> getRemoved()

      Returns the set of names of the mixins that have been removed.
      Returns:
        the set of node type names that were removed as a mixin on this node; never null

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