org.modeshape.jcr.cache.change

## Class NodeRenamed

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

- All Implemented Interfaces:
    Serializable

      public class NodeRenamed
      extends AbstractNodeChange

  Change representing the renaming of a node.
  See Also:
    Serialized Form

- - ### Field Summary

    - ### Fields inherited from class org.modeshape.jcr.cache.change.AbstractNodeChange

      `path`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `NodeRenamed(NodeKey key, Path newPath, Path.Segment oldSegment, Name primaryType, Set<Name> mixinTypes, boolean queryable)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Path.Segment` | `getOldSegment()` Get the old segment for the node.
    `String` | `toString()`

    - ### Methods inherited from class org.modeshape.jcr.cache.change.AbstractNodeChange

      `getKey, getMixinTypes, getPath, getPrimaryType, isQueryable, isType`

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

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

- - ### Constructor Detail

    - #### NodeRenamed

          public NodeRenamed(NodeKey key,
                     Path newPath,
                     Path.Segment oldSegment,
                     Name primaryType,
                     Set<Name> mixinTypes,
                     boolean queryable)

  - ### Method Detail

    - #### getOldSegment

          public Path.Segment getOldSegment()

      Get the old segment for the node.
      Returns:
        the old segment; never null

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

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