Spring Data Graph

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

java.lang.Object
  extended by org.springframework.data.graph.neo4j.fieldaccess.JpaIdFieldAccessListenerFactory

public class JpaIdFieldAccessListenerFactory
extends Object

Since:
12.09.2010
Author:
Michael Hunger

Nested Class Summary
static class JpaIdFieldAccessListenerFactory.JpaIdFieldListener
           
 
Constructor Summary
JpaIdFieldAccessListenerFactory()
           
 
Method Summary
 boolean accept(Field f)
           
 FieldAccessListener<NodeBacked,?> forField(Field field)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JpaIdFieldAccessListenerFactory

public JpaIdFieldAccessListenerFactory()
Method Detail

accept

public boolean accept(Field f)
Parameters:
f - field to check
Returns:
true if this factory is able to create a listener for the field

forField

public FieldAccessListener<NodeBacked,?> forField(Field field)
Parameters:
field - field to create a listener for
Returns:
newly created field listener

Spring Data Graph

Copyright © 2011. All Rights Reserved.