org.springframework.data.neo4j.fieldaccess
Class DynamicPropertiesFieldAccessorFactory
java.lang.Object
org.springframework.data.neo4j.fieldaccess.DynamicPropertiesFieldAccessorFactory
- All Implemented Interfaces:
- FieldAccessorFactory
public class DynamicPropertiesFieldAccessorFactory
- extends Object
- implements FieldAccessorFactory
This accessor factory creates DynamicPropertiesFieldAccessorFactory.DynamicPropertiesFieldAccessor
s for @NodeEntity properties of type
DynamicProperties
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DynamicPropertiesFieldAccessorFactory
public DynamicPropertiesFieldAccessorFactory(Neo4jTemplate template)
accept
public boolean accept(Neo4jPersistentProperty f)
- Specified by:
accept
in interface FieldAccessorFactory
- Parameters:
f
- field to check
- Returns:
- true if this factory is responsible for creating a accessor for this field
forField
public FieldAccessor forField(Neo4jPersistentProperty field)
- Specified by:
forField
in interface FieldAccessorFactory
- Parameters:
field
- the field to create an accessor for
- Returns:
- a field accessor for the field or null if none can be created
Copyright © 2011 SpringSource. All Rights Reserved.