org.springframework.data.neo4j.fieldaccess
Class RelatedToSingleFieldAccessorFactory.RelatedToSingleFieldAccessor
java.lang.Object
org.springframework.data.neo4j.fieldaccess.RelatedToFieldAccessor
org.springframework.data.neo4j.fieldaccess.RelatedToSingleFieldAccessorFactory.RelatedToSingleFieldAccessor
- All Implemented Interfaces:
- FieldAccessor
- Enclosing class:
- RelatedToSingleFieldAccessorFactory
public static class RelatedToSingleFieldAccessorFactory.RelatedToSingleFieldAccessor
- extends RelatedToFieldAccessor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RelatedToSingleFieldAccessorFactory.RelatedToSingleFieldAccessor
public RelatedToSingleFieldAccessorFactory.RelatedToSingleFieldAccessor(org.neo4j.graphdb.RelationshipType type,
org.neo4j.graphdb.Direction direction,
Class<?> clazz,
Neo4jTemplate template,
Neo4jPersistentProperty property)
setValue
public Object setValue(Object entity,
Object newVal,
MappingPolicy mappingPolicy)
- Description copied from interface:
FieldAccessor
- handles field write modification.
- Returns:
- the written value or a DoReturn wrapper with the written value or null.
DoReturn indicates that the aspect should not proceed to the original field access but instead return immediately.
getValue
public Object getValue(Object entity,
MappingPolicy mappingPolicy)
- Returns:
- the value or a DoReturn wrapper with the value for the field.
DoReturn indicates that the aspect should not proceed to the original field access but instead return immediately.
Copyright © 2013 SpringSource. All Rights Reserved.