Spring Data Neo4j

org.springframework.data.neo4j.mapping
Interface Neo4jPersistentEntity<T>

All Superinterfaces:
org.springframework.data.mapping.PersistentEntity<T,Neo4jPersistentProperty>
All Known Implementing Classes:
Neo4jPersistentEntityImpl

public interface Neo4jPersistentEntity<T>
extends org.springframework.data.mapping.PersistentEntity<T,Neo4jPersistentProperty>

Interface for Neo4J specific PersistentEntity.

Author:
Oliver Gierke

Method Summary
 MappingPolicy getMappingPolicy()
           
 Object getPersistentId(Object entity)
           
 RelationshipProperties getRelationshipProperties()
           
 boolean isNodeEntity()
           
 boolean isRelationshipEntity()
           
 void setPersistentState(Object entity, org.neo4j.graphdb.PropertyContainer pc)
           
 boolean useShortNames()
           
 
Methods inherited from interface org.springframework.data.mapping.PersistentEntity
doWithAssociations, doWithProperties, getIdProperty, getName, getPersistentProperty, getPreferredConstructor, getType, getTypeAlias, getTypeInformation
 

Method Detail

useShortNames

boolean useShortNames()

isNodeEntity

boolean isNodeEntity()

isRelationshipEntity

boolean isRelationshipEntity()

setPersistentState

void setPersistentState(Object entity,
                        org.neo4j.graphdb.PropertyContainer pc)

getPersistentId

Object getPersistentId(Object entity)

getRelationshipProperties

RelationshipProperties getRelationshipProperties()

getMappingPolicy

MappingPolicy getMappingPolicy()

Spring Data Neo4j

Copyright © 2011 SpringSource. All Rights Reserved.