org.modeshape.jcr.cache.change
Class NodeAdded
java.lang.Object
org.modeshape.jcr.cache.change.Change
org.modeshape.jcr.cache.change.AbstractNodeChange
org.modeshape.jcr.cache.change.NodeAdded
- All Implemented Interfaces:
- Serializable
public class NodeAdded
- extends AbstractNodeChange
- See Also:
- Serialized Form
NodeAdded
public NodeAdded(NodeKey key,
NodeKey parentKey,
Path path,
Map<Name,Property> properties)
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
Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.