Spring Data Graph

org.springframework.data.neo4j.fieldaccess
Class IndexingPropertyFieldAccessorListenerFactory<S extends org.neo4j.graphdb.PropertyContainer,T extends GraphBacked<S>>

java.lang.Object
  extended by org.springframework.data.neo4j.fieldaccess.IndexingPropertyFieldAccessorListenerFactory<S,T>
All Implemented Interfaces:
FieldAccessorListenerFactory<T>

public class IndexingPropertyFieldAccessorListenerFactory<S extends org.neo4j.graphdb.PropertyContainer,T extends GraphBacked<S>>
extends Object
implements FieldAccessorListenerFactory<T>


Nested Class Summary
static class IndexingPropertyFieldAccessorListenerFactory.IndexingPropertyFieldAccessorListener<T extends org.neo4j.graphdb.PropertyContainer>
           
 
Constructor Summary
IndexingPropertyFieldAccessorListenerFactory(GraphDatabaseContext graphDatabaseContext, PropertyFieldAccessorFactory propertyFieldAccessorFactory, ConvertingNodePropertyFieldAccessorFactory convertingNodePropertyFieldAccessorFactory)
           
 
Method Summary
 boolean accept(Field f)
           
 FieldAccessListener<T,?> forField(Field field)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexingPropertyFieldAccessorListenerFactory

public IndexingPropertyFieldAccessorListenerFactory(GraphDatabaseContext graphDatabaseContext,
                                                    PropertyFieldAccessorFactory propertyFieldAccessorFactory,
                                                    ConvertingNodePropertyFieldAccessorFactory convertingNodePropertyFieldAccessorFactory)
Method Detail

accept

public boolean accept(Field f)
Specified by:
accept in interface FieldAccessorListenerFactory<T extends GraphBacked<S>>
Parameters:
f - field to check
Returns:
true if this factory is able to create a listener for the field

forField

public FieldAccessListener<T,?> forField(Field field)
Specified by:
forField in interface FieldAccessorListenerFactory<T extends GraphBacked<S>>
Parameters:
field - field to create a listener for
Returns:
newly created field listener

Spring Data Graph

Copyright © 2011 SpringSource. All Rights Reserved.