Spring Data Graph

org.springframework.data.neo4j.mapping
Class Neo4JMappingContext

java.lang.Object
  extended by org.springframework.data.mapping.context.AbstractMappingContext<org.springframework.data.neo4j.mapping.Neo4JPersistentEntityImpl<?>,Neo4JPersistentProperty>
      extended by org.springframework.data.neo4j.mapping.Neo4JMappingContext
All Implemented Interfaces:
InitializingBean, ApplicationEventPublisherAware, org.springframework.data.mapping.context.MappingContext<org.springframework.data.neo4j.mapping.Neo4JPersistentEntityImpl<?>,Neo4JPersistentProperty>

public class Neo4JMappingContext
extends org.springframework.data.mapping.context.AbstractMappingContext<org.springframework.data.neo4j.mapping.Neo4JPersistentEntityImpl<?>,Neo4JPersistentProperty>

Neo4J specific MappingContext implementation. Simply creates Neo4JPersistentEntityImpl and Neo4JPersistentProperty instances.

Author:
Oliver Gierke

Constructor Summary
Neo4JMappingContext()
           
 
Method Summary
protected
<T> org.springframework.data.neo4j.mapping.Neo4JPersistentEntityImpl<?>
createPersistentEntity(org.springframework.data.util.TypeInformation<T> typeInformation)
           
protected  Neo4JPersistentProperty createPersistentProperty(Field field, PropertyDescriptor descriptor, org.springframework.data.neo4j.mapping.Neo4JPersistentEntityImpl<?> owner, org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder)
           
 
Methods inherited from class org.springframework.data.mapping.context.AbstractMappingContext
addPersistentEntity, addPersistentEntity, afterPropertiesSet, getEntityValidators, getPersistentEntities, getPersistentEntity, getPersistentEntity, getPersistentPropertyPath, setApplicationEventPublisher, setInitialEntitySet, setSimpleTypeHolder, setStrict
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Neo4JMappingContext

public Neo4JMappingContext()
Method Detail

createPersistentEntity

protected <T> org.springframework.data.neo4j.mapping.Neo4JPersistentEntityImpl<?> createPersistentEntity(org.springframework.data.util.TypeInformation<T> typeInformation)
Specified by:
createPersistentEntity in class org.springframework.data.mapping.context.AbstractMappingContext<org.springframework.data.neo4j.mapping.Neo4JPersistentEntityImpl<?>,Neo4JPersistentProperty>

createPersistentProperty

protected Neo4JPersistentProperty createPersistentProperty(Field field,
                                                           PropertyDescriptor descriptor,
                                                           org.springframework.data.neo4j.mapping.Neo4JPersistentEntityImpl<?> owner,
                                                           org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder)
Specified by:
createPersistentProperty in class org.springframework.data.mapping.context.AbstractMappingContext<org.springframework.data.neo4j.mapping.Neo4JPersistentEntityImpl<?>,Neo4JPersistentProperty>

Spring Data Graph

Copyright © 2011 SpringSource. All Rights Reserved.