org.modeshape.jcr.cache.change
Class NodeMoved
java.lang.Object
org.modeshape.jcr.cache.change.Change
org.modeshape.jcr.cache.change.AbstractNodeChange
org.modeshape.jcr.cache.change.NodeMoved
- All Implemented Interfaces:
- Serializable
public class NodeMoved
- extends AbstractNodeChange
- See Also:
- Serialized Form
NodeMoved
public NodeMoved(NodeKey key,
NodeKey oldParent,
NodeKey newParent,
Path newPath,
Path oldPath)
getNewParent
public NodeKey getNewParent()
- Get the parent under which the node now appears.
- Returns:
- the new parent; never null
getOldParent
public NodeKey getOldParent()
- Get the parent under which the node formerly appeared.
- Returns:
- the old parent; never null
getNewPath
public Path getNewPath()
- Get the new path for the node, if it is known
- Returns:
- the new path; may be null if it is not known
getOldPath
public Path getOldPath()
- Get the old path for the node, if it is known
- Returns:
- the old path; may be null if it is not known
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.