org.springframework.data.neo4j.support.relationship
Class RelationshipEntityState
java.lang.Object
org.springframework.data.neo4j.fieldaccess.DefaultEntityState<org.neo4j.graphdb.Relationship>
org.springframework.data.neo4j.support.relationship.RelationshipEntityState
- All Implemented Interfaces:
- EntityState<org.neo4j.graphdb.Relationship>
public class RelationshipEntityState
- extends DefaultEntityState<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 |
Object |
persist()
|
Methods inherited from class org.springframework.data.neo4j.fieldaccess.DefaultEntityState |
accessorFor, getDefaultValue, getEntity, getIdFromEntity, getPersistentEntity, getPersistentState, getValue, getValue, hasPersistentState, isWritable, property, setPersistentState, setValue, setValue |
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,
Object entity,
Class<? extends Object> type,
Neo4jTemplate template,
DelegatingFieldAccessorFactory delegatingFieldAccessorFactory,
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.Relationship>
- Specified by:
createAndAssignState
in class DefaultEntityState<org.neo4j.graphdb.Relationship>
persist
public Object persist()
Copyright © 2013 SpringSource. All Rights Reserved.