ModeShape Distribution 3.0.0.Beta4

org.modeshape.jcr.cache.change
Class NodeRenamed

java.lang.Object
  extended by org.modeshape.jcr.cache.change.Change
      extended by org.modeshape.jcr.cache.change.AbstractNodeChange
          extended by org.modeshape.jcr.cache.change.NodeRenamed
All Implemented Interfaces:
Serializable

public class NodeRenamed
extends AbstractNodeChange

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.modeshape.jcr.cache.change.AbstractNodeChange
path
 
Constructor Summary
NodeRenamed(NodeKey key, Path newPath, Path.Segment oldSegment)
           
 
Method Summary
 Path.Segment getOldSegment()
          Get the old segment for the node.
 String toString()
           
 
Methods inherited from class org.modeshape.jcr.cache.change.AbstractNodeChange
getKey, getPath
 
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)
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

ModeShape Distribution 3.0.0.Beta4

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