org.springframework.data.neo4j.support.node
Class NodeEntityState
java.lang.Object
org.springframework.data.neo4j.fieldaccess.DefaultEntityState<org.neo4j.graphdb.Node>
org.springframework.data.neo4j.support.node.NodeEntityState
- All Implemented Interfaces:
- EntityState<org.neo4j.graphdb.Node>
public class NodeEntityState
- extends DefaultEntityState<org.neo4j.graphdb.Node>
- Since:
- 21.09.2010
- Author:
- Michael Hunger
Methods inherited from class org.springframework.data.neo4j.fieldaccess.DefaultEntityState |
accessorFor, getDefaultValue, getEntity, getIdFromEntity, getPersistentEntity, getPersistentState, getValue, getValue, hasPersistentState, isWritable, property, setValue, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeEntityState
public NodeEntityState(org.neo4j.graphdb.Node underlyingState,
Object entity,
Class<? extends Object> type,
Neo4jTemplate template,
DelegatingFieldAccessorFactory nodeDelegatingFieldAccessorFactory,
Neo4jPersistentEntity<Object> persistentEntity)
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<org.neo4j.graphdb.Node>
- Specified by:
createAndAssignState
in class DefaultEntityState<org.neo4j.graphdb.Node>
setPersistentState
public void setPersistentState(org.neo4j.graphdb.Node node)
- Specified by:
setPersistentState
in interface EntityState<org.neo4j.graphdb.Node>
- Overrides:
setPersistentState
in class DefaultEntityState<org.neo4j.graphdb.Node>
persist
public Object persist()
Copyright © 2013 SpringSource. All Rights Reserved.