ModeShape Distribution 3.2.0.Final

org.modeshape.jcr.cache.change
Class NodeAdded

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.NodeAdded
All Implemented Interfaces:
Serializable

public class NodeAdded
extends AbstractNodeChange

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.modeshape.jcr.cache.change.AbstractNodeChange
path
 
Constructor Summary
NodeAdded(NodeKey key, NodeKey parentKey, Path path, Map<Name,Property> properties)
           
 
Method Summary
 NodeKey getParentKey()
          Get the key for the parent under which the new node was added.
 Map<Name,Property> getProperties()
          Get the immutable map of properties that were added as part of this 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

NodeAdded

public NodeAdded(NodeKey key,
                 NodeKey parentKey,
                 Path path,
                 Map<Name,Property> properties)
Method Detail

getParentKey

public NodeKey getParentKey()
Get the key for the parent under which the new node was added.

Returns:
the key for the parent; never null

getProperties

public Map<Name,Property> getProperties()
Get the immutable map of properties that were added as part of this node.

Returns:
the properties keyed by their name; never null but possibly empty

toString

public String toString()
Overrides:
toString in class Object

ModeShape Distribution 3.2.0.Final

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