public class RelationshipEntityState extends DefaultEntityState<org.neo4j.graphdb.Relationship>
entity, log, persistentEntity, type
Constructor and Description |
---|
RelationshipEntityState(org.neo4j.graphdb.Relationship underlyingState,
Object entity,
Class<? extends Object> type,
Neo4jTemplate template,
DelegatingFieldAccessorFactory delegatingFieldAccessorFactory,
Neo4jPersistentEntity<Object> persistentEntity) |
Modifier and Type | Method and Description |
---|---|
void |
createAndAssignState()
callback for creating and initializing an initial state
TODO will be internal implementation detail of persist
|
Object |
persist() |
accessorFor, getDefaultValue, getEntity, getIdFromEntity, getPersistentEntity, getPersistentState, getValue, getValue, hasPersistentState, isWritable, property, setPersistentState, setValue, setValue
public RelationshipEntityState(org.neo4j.graphdb.Relationship underlyingState, Object entity, Class<? extends Object> type, Neo4jTemplate template, DelegatingFieldAccessorFactory delegatingFieldAccessorFactory, Neo4jPersistentEntity<Object> persistentEntity)
public void createAndAssignState()
EntityState
createAndAssignState
in interface EntityState<org.neo4j.graphdb.Relationship>
createAndAssignState
in class DefaultEntityState<org.neo4j.graphdb.Relationship>
public Object persist()
Copyright © 2012 SpringSource. All Rights Reserved.