ModeShape Distribution 3.6.0.Final

org.modeshape.jcr.cache.change
Class AbstractNodeChange

java.lang.Object
  extended by org.modeshape.jcr.cache.change.Change
      extended by 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
protected  Path path
           
 
Constructor Summary
protected AbstractNodeChange(NodeKey key, Path path)
           
 
Method Summary
 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

ModeShape Distribution 3.6.0.Final

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