org.springframework.data.neo4j.support.mapping
Class Neo4jMappingContext
java.lang.Object
org.springframework.data.mapping.context.AbstractMappingContext<Neo4jPersistentEntityImpl<?>,Neo4jPersistentProperty>
org.springframework.data.neo4j.support.mapping.Neo4jMappingContext
- All Implemented Interfaces:
- InitializingBean, ApplicationEventPublisherAware, org.springframework.data.mapping.context.MappingContext<Neo4jPersistentEntityImpl<?>,Neo4jPersistentProperty>
public class Neo4jMappingContext
- extends org.springframework.data.mapping.context.AbstractMappingContext<Neo4jPersistentEntityImpl<?>,Neo4jPersistentProperty>
Neo4J specific MappingContext
implementation. Simply creates Neo4jPersistentEntityImpl
and
Neo4jPersistentProperty
instances.
- Author:
- Oliver Gierke
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 |
Neo4jMappingContext
public Neo4jMappingContext()
createPersistentEntity
protected <T> Neo4jPersistentEntityImpl<?> createPersistentEntity(org.springframework.data.util.TypeInformation<T> typeInformation)
- Specified by:
createPersistentEntity
in class org.springframework.data.mapping.context.AbstractMappingContext<Neo4jPersistentEntityImpl<?>,Neo4jPersistentProperty>
createPersistentProperty
protected Neo4jPersistentProperty createPersistentProperty(Field field,
PropertyDescriptor descriptor,
Neo4jPersistentEntityImpl<?> owner,
org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder)
- Specified by:
createPersistentProperty
in class org.springframework.data.mapping.context.AbstractMappingContext<Neo4jPersistentEntityImpl<?>,Neo4jPersistentProperty>
isNodeEntity
public boolean isNodeEntity(Class<?> type)
isRelationshipEntity
public boolean isRelationshipEntity(Class<?> type)
setPersistentState
public void setPersistentState(Object entity,
org.neo4j.graphdb.PropertyContainer pc)
Copyright © 2011 SpringSource. All Rights Reserved.