Spring Data Neo4j

org.springframework.data.neo4j.support.relationship
Class RelationshipEntityState

java.lang.Object
  extended by org.springframework.data.neo4j.fieldaccess.DefaultEntityState<org.neo4j.graphdb.Relationship>
      extended by 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

Field Summary
 
Fields inherited from class org.springframework.data.neo4j.fieldaccess.DefaultEntityState
entity, log, persistentEntity, type
 
Constructor Summary
RelationshipEntityState(org.neo4j.graphdb.Relationship underlyingState, Object entity, Class<? extends Object> type, Neo4jTemplate template, DelegatingFieldAccessorFactory delegatingFieldAccessorFactory, Neo4jPersistentEntity<Object> persistentEntity)
           
 
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
 

Constructor Detail

RelationshipEntityState

public RelationshipEntityState(org.neo4j.graphdb.Relationship underlyingState,
                               Object entity,
                               Class<? extends Object> type,
                               Neo4jTemplate template,
                               DelegatingFieldAccessorFactory delegatingFieldAccessorFactory,
                               Neo4jPersistentEntity<Object> persistentEntity)
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<org.neo4j.graphdb.Relationship>
Specified by:
createAndAssignState in class DefaultEntityState<org.neo4j.graphdb.Relationship>

persist

public Object persist()

Spring Data Neo4j

Copyright © 2013 SpringSource. All Rights Reserved.