org.modeshape.jcr.cache.change

## Class AbstractNodeChange

- java.lang.Object
- - org.modeshape.jcr.cache.change.Change
  - - org.modeshape.jcr.cache.change.AbstractNodeChange

- All Implemented Interfaces:
    Serializable
  Direct Known Subclasses:
    AbstractPropertyChange, AbstractSequencingChange, NodeAdded, NodeChanged, NodeMoved, NodeRemoved, NodeRenamed, NodeReordered

      public abstract class AbstractNodeChange
      extends Change

  Abstract base class for all internal events.
  See Also:
    Serialized Form

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected Path` | `path`

  - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `AbstractNodeChange(NodeKey key, Path path)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `NodeKey` | `getKey()`
    `Path` | `getPath()` Get the path to the node involved in the change.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### path

          protected final Path path

  - ### Constructor Detail

    - #### AbstractNodeChange

          protected AbstractNodeChange(NodeKey key,
                            Path path)

  - ### Method Detail

    - #### getPath

          public Path getPath()

      Get the path to the node involved in the change.
      Returns:
        the path; may not be null

    - #### getKey

          public NodeKey getKey()

      Returns:
        key

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