Spring Data Graph

org.springframework.data.graph.neo4j.fieldaccess
Class TraversalFieldAccessorFactory

java.lang.Object
  extended by org.springframework.data.graph.neo4j.fieldaccess.TraversalFieldAccessorFactory
All Implemented Interfaces:
FieldAccessorFactory<NodeBacked>

public class TraversalFieldAccessorFactory
extends Object
implements FieldAccessorFactory<NodeBacked>


Nested Class Summary
static class TraversalFieldAccessorFactory.TraversalFieldAccessor
           
 
Constructor Summary
TraversalFieldAccessorFactory(FinderFactory finderFactory)
           
 
Method Summary
 boolean accept(Field f)
           
 FieldAccessor<NodeBacked> forField(Field field)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TraversalFieldAccessorFactory

public TraversalFieldAccessorFactory(FinderFactory finderFactory)
Method Detail

accept

public boolean accept(Field f)
Specified by:
accept in interface FieldAccessorFactory<NodeBacked>
Parameters:
f - field to check
Returns:
true if this factory is responsible for creating a accessor for this field

forField

public FieldAccessor<NodeBacked> forField(Field field)
Specified by:
forField in interface FieldAccessorFactory<NodeBacked>
Parameters:
field - the field to create an accessor for
Returns:
a field accessor for the field or null if none can be created

Spring Data Graph

Copyright © 2011. All Rights Reserved.