Spring Data Graph

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

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

public class RelationshipNodeFieldAccessorFactory
extends Object
implements FieldAccessorFactory<RelationshipBacked>

Since:
21.09.2010
Author:
Michael Hunger

Nested Class Summary
static class RelationshipNodeFieldAccessorFactory.RelationshipNodeFieldAccessor
           
 
Constructor Summary
RelationshipNodeFieldAccessorFactory(GraphDatabaseContext graphDatabaseContext)
           
 
Method Summary
 boolean accept(Field f)
           
 FieldAccessor<RelationshipBacked> forField(Field f)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelationshipNodeFieldAccessorFactory

public RelationshipNodeFieldAccessorFactory(GraphDatabaseContext graphDatabaseContext)
Method Detail

accept

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

forField

public FieldAccessor<RelationshipBacked> forField(Field f)
Specified by:
forField in interface FieldAccessorFactory<RelationshipBacked>
Parameters:
f - 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.