Spring Data Graph

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<GraphBacked<org.neo4j.graphdb.PropertyContainer>>
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, propertyName
 
Constructor Summary
ConvertingNodePropertyFieldAccessorFactory.ConvertingNodePropertyFieldAccessor(ConversionService conversionService, String propertyName, Class fieldType)
           
 
Method Summary
 Object doGetValue(GraphBacked<org.neo4j.graphdb.PropertyContainer> graphBacked)
           
 Object setValue(GraphBacked<org.neo4j.graphdb.PropertyContainer> graphBacked, Object newVal)
          handles field write modification.
 
Methods inherited from class org.springframework.data.neo4j.fieldaccess.PropertyFieldAccessorFactory.PropertyFieldAccessor
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(ConversionService conversionService,
                                                                                      String propertyName,
                                                                                      Class fieldType)
Method Detail

setValue

public Object setValue(GraphBacked<org.neo4j.graphdb.PropertyContainer> graphBacked,
                       Object newVal)
Description copied from interface: FieldAccessor
handles field write modification.

Specified by:
setValue in interface FieldAccessor<GraphBacked<org.neo4j.graphdb.PropertyContainer>>
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(GraphBacked<org.neo4j.graphdb.PropertyContainer> graphBacked)
Overrides:
doGetValue in class PropertyFieldAccessorFactory.PropertyFieldAccessor

Spring Data Graph

Copyright © 2011 SpringSource. All Rights Reserved.