Spring Data Graph

org.springframework.data.neo4j.support.node
Class NodeEntityState<ENTITY extends NodeBacked>

java.lang.Object
  extended by org.springframework.data.neo4j.fieldaccess.DefaultEntityState<ENTITY,org.neo4j.graphdb.Node>
      extended by org.springframework.data.neo4j.support.node.NodeEntityState<ENTITY>
All Implemented Interfaces:
EntityState<ENTITY,org.neo4j.graphdb.Node>

public class NodeEntityState<ENTITY extends NodeBacked>
extends DefaultEntityState<ENTITY,org.neo4j.graphdb.Node>

Since:
21.09.2010
Author:
Michael Hunger

Field Summary
 
Fields inherited from class org.springframework.data.neo4j.fieldaccess.DefaultEntityState
entity, log, type
 
Constructor Summary
NodeEntityState(org.neo4j.graphdb.Node underlyingState, ENTITY entity, Class<? extends ENTITY> type, GraphDatabaseContext graphDatabaseContext, DelegatingFieldAccessorFactory<NodeBacked> nodeDelegatingFieldAccessorFactory)
           
 
Method Summary
 void createAndAssignState()
          callback for creating and initializing an initial state TODO will be internal implementation detail of persist
 ENTITY persist()
           
 
Methods inherited from class org.springframework.data.neo4j.fieldaccess.DefaultEntityState
accessorFor, getEntity, getIdFromEntity, getPersistentState, getValue, hasPersistentState, isWritable, setPersistentState, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeEntityState

public NodeEntityState(org.neo4j.graphdb.Node underlyingState,
                       ENTITY entity,
                       Class<? extends ENTITY> type,
                       GraphDatabaseContext graphDatabaseContext,
                       DelegatingFieldAccessorFactory<NodeBacked> nodeDelegatingFieldAccessorFactory)
Method Detail

createAndAssignState

public void createAndAssignState()
Description copied from interface: EntityState
callback for creating and initializing an initial state TODO will be internal implementation detail of persist

Specified by:
createAndAssignState in interface EntityState<ENTITY extends NodeBacked,org.neo4j.graphdb.Node>
Specified by:
createAndAssignState in class DefaultEntityState<ENTITY extends NodeBacked,org.neo4j.graphdb.Node>

persist

public ENTITY persist()

Spring Data Graph

Copyright © 2011 SpringSource. All Rights Reserved.