public class CrossStoreNodeEntityState<ENTITY extends NodeBacked> extends DefaultEntityState<org.neo4j.graphdb.Node>
| Modifier and Type | Field and Description |
|---|---|
static String |
FOREIGN_ID |
static String |
FOREIGN_ID_INDEX |
entity, log, persistentEntity, type| Constructor and Description |
|---|
CrossStoreNodeEntityState(org.neo4j.graphdb.Node underlyingState,
NodeBacked entity,
Class<? extends NodeBacked> type,
Neo4jTemplate template,
javax.persistence.PersistenceUnitUtil persistenceUnitUtil,
DelegatingFieldAccessorFactory delegatingFieldAccessorFactory,
Neo4jPersistentEntity 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 |
getId(Object entity) |
boolean |
isWritable(Neo4jPersistentProperty property) |
ENTITY |
persist() |
accessorFor, getDefaultValue, getEntity, getIdFromEntity, getPersistentEntity, getPersistentState, getValue, getValue, hasPersistentState, property, setPersistentState, setValue, setValuepublic static final String FOREIGN_ID
public static final String FOREIGN_ID_INDEX
public CrossStoreNodeEntityState(org.neo4j.graphdb.Node underlyingState,
NodeBacked entity,
Class<? extends NodeBacked> type,
Neo4jTemplate template,
javax.persistence.PersistenceUnitUtil persistenceUnitUtil,
DelegatingFieldAccessorFactory delegatingFieldAccessorFactory,
Neo4jPersistentEntity persistentEntity)
public void createAndAssignState()
EntityStatecreateAndAssignState in interface EntityState<org.neo4j.graphdb.Node>createAndAssignState in class DefaultEntityState<org.neo4j.graphdb.Node>public ENTITY persist()
public boolean isWritable(Neo4jPersistentProperty property)
isWritable in interface EntityState<org.neo4j.graphdb.Node>isWritable in class DefaultEntityState<org.neo4j.graphdb.Node>Copyright © 2012 SpringSource. All Rights Reserved.