org.springframework.data.neo4j.support.relationship
Class RelationshipEntityState<ENTITY extends RelationshipBacked>
java.lang.Object
org.springframework.data.neo4j.fieldaccess.DefaultEntityState<ENTITY,org.neo4j.graphdb.Relationship>
org.springframework.data.neo4j.support.relationship.RelationshipEntityState<ENTITY>
- All Implemented Interfaces:
- EntityState<ENTITY,org.neo4j.graphdb.Relationship>
public class RelationshipEntityState<ENTITY extends RelationshipBacked>
- extends DefaultEntityState<ENTITY,org.neo4j.graphdb.Relationship>
- Since:
- 21.09.2010
- Author:
- Michael Hunger
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RelationshipEntityState
public RelationshipEntityState(org.neo4j.graphdb.Relationship underlyingState,
ENTITY entity,
Class<? extends ENTITY> type,
GraphDatabaseContext graphDatabaseContext,
DelegatingFieldAccessorFactory<RelationshipBacked> delegatingFieldAccessorFactory)
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 RelationshipBacked,org.neo4j.graphdb.Relationship>
- Specified by:
createAndAssignState
in class DefaultEntityState<ENTITY extends RelationshipBacked,org.neo4j.graphdb.Relationship>
persist
public ENTITY persist()
Copyright © 2011 SpringSource. All Rights Reserved.