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
 StoredEntityType getEntityType()
           
 MappingPolicy getMappingPolicy()
           
 Object getPersistentId(Object entity)
           
 RelationshipProperties getRelationshipProperties()
           
 Neo4jPersistentProperty getUniqueProperty()
           
 boolean isNodeEntity()
           
 boolean isRelationshipEntity()
           
 boolean isUnique()
           
 void setPersistentState(Object entity, org.neo4j.graphdb.PropertyContainer pc)
           
 boolean useShortNames()
           
 
Methods inherited from interface org.springframework.data.mapping.PersistentEntity
doWithAssociations, doWithProperties, getIdProperty, getName, getPersistenceConstructor, getPersistentProperty, getType, getTypeAlias, getTypeInformation, isConstructorArgument
 

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()

getEntityType

StoredEntityType getEntityType()

getUniqueProperty

Neo4jPersistentProperty getUniqueProperty()

isUnique

boolean isUnique()

Spring Data Neo4j

Copyright © 2012 SpringSource. All Rights Reserved.