Spring Data Neo4j

org.springframework.data.neo4j.fieldaccess
Class ConvertingNodePropertyFieldAccessorFactory.ConvertingNodePropertyFieldAccessor

java.lang.Object
  extended by org.springframework.data.neo4j.fieldaccess.PropertyFieldAccessorFactory.PropertyFieldAccessor
      extended by org.springframework.data.neo4j.fieldaccess.ConvertingNodePropertyFieldAccessorFactory.ConvertingNodePropertyFieldAccessor
All Implemented Interfaces:
FieldAccessor
Enclosing class:
ConvertingNodePropertyFieldAccessorFactory

public static class ConvertingNodePropertyFieldAccessorFactory.ConvertingNodePropertyFieldAccessor
extends PropertyFieldAccessorFactory.PropertyFieldAccessor


Field Summary
 
Fields inherited from class org.springframework.data.neo4j.fieldaccess.PropertyFieldAccessorFactory.PropertyFieldAccessor
fieldType, property, propertyName, template
 
Constructor Summary
ConvertingNodePropertyFieldAccessorFactory.ConvertingNodePropertyFieldAccessor(Neo4jPersistentProperty property, Neo4jTemplate template)
           
 
Method Summary
 Object doGetValue(Object entity)
           
 Object setValue(Object entity, Object newVal)
          handles field write modification.
 
Methods inherited from class org.springframework.data.neo4j.fieldaccess.PropertyFieldAccessorFactory.PropertyFieldAccessor
getDefaultImplementation, getValue, isWriteable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConvertingNodePropertyFieldAccessorFactory.ConvertingNodePropertyFieldAccessor

public ConvertingNodePropertyFieldAccessorFactory.ConvertingNodePropertyFieldAccessor(Neo4jPersistentProperty property,
                                                                                      Neo4jTemplate template)
Method Detail

setValue

public Object setValue(Object entity,
                       Object newVal)
Description copied from interface: FieldAccessor
handles field write modification.

Specified by:
setValue in interface FieldAccessor
Overrides:
setValue in class PropertyFieldAccessorFactory.PropertyFieldAccessor
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.

doGetValue

public Object doGetValue(Object entity)
Overrides:
doGetValue in class PropertyFieldAccessorFactory.PropertyFieldAccessor

Spring Data Neo4j

Copyright © 2011 SpringSource. All Rights Reserved.