org.modeshape.graph.session
Class GraphSession.Snapshot<PropertyPayload>

java.lang.Object
  extended by org.modeshape.graph.session.GraphSession.Snapshot<PropertyPayload>
Enclosing class:
GraphSession<Payload,PropertyPayload>

protected static final class GraphSession.Snapshot<PropertyPayload>
extends Object


Constructor Summary
protected GraphSession.Snapshot(GraphSession.Node<?,PropertyPayload> node, boolean pathsOnly, boolean includeProperties)
           
 
Method Summary
 GraphSession.NodeId getId()
           
 Location getLocation()
           
 Collection<GraphSession.PropertyInfo<PropertyPayload>> getProperties()
           
 boolean isChanged()
           
 boolean isLoaded()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphSession.Snapshot

protected GraphSession.Snapshot(GraphSession.Node<?,PropertyPayload> node,
                                boolean pathsOnly,
                                boolean includeProperties)
Method Detail

getLocation

public Location getLocation()
Returns:
location

isChanged

public boolean isChanged()
Returns:
isChanged

isLoaded

public boolean isLoaded()
Returns:
isLoaded

getId

public GraphSession.NodeId getId()
Returns:
id

getProperties

public Collection<GraphSession.PropertyInfo<PropertyPayload>> getProperties()
Returns:
properties


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