Spring Data Graph

org.springframework.data.neo4j.support.relationship
Class RelationshipEntityInstantiator

java.lang.Object
  extended by org.springframework.data.persistence.AbstractConstructorEntityInstantiator<RelationshipBacked,org.neo4j.graphdb.Relationship>
      extended by org.springframework.data.neo4j.support.relationship.RelationshipEntityInstantiator
All Implemented Interfaces:
org.springframework.data.persistence.EntityInstantiator<RelationshipBacked,org.neo4j.graphdb.Relationship>

public class RelationshipEntityInstantiator
extends org.springframework.data.persistence.AbstractConstructorEntityInstantiator<RelationshipBacked,org.neo4j.graphdb.Relationship>

Instantiator for relationship entities uses non constructor invoking ReflectionFactory internal to sun reflect package. Part of the SPI, not intended for public use.


Constructor Summary
RelationshipEntityInstantiator()
           
 
Method Summary
protected  String getFailingMessageForClass(Class<?> entityClass, Class<org.neo4j.graphdb.Relationship> stateClass)
           
protected  void setState(RelationshipBacked entity, org.neo4j.graphdb.Relationship relationship)
           
 
Methods inherited from class org.springframework.data.persistence.AbstractConstructorEntityInstantiator
createEntityFromState, createFailingInstantiator, createInstantiator, createWithoutConstructorInvocation, getDeclaredConstructor, getNoArgConstructor, setInstantiators, stateTakingConstructorInstantiator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelationshipEntityInstantiator

public RelationshipEntityInstantiator()
Method Detail

setState

protected void setState(RelationshipBacked entity,
                        org.neo4j.graphdb.Relationship relationship)
Specified by:
setState in class org.springframework.data.persistence.AbstractConstructorEntityInstantiator<RelationshipBacked,org.neo4j.graphdb.Relationship>

getFailingMessageForClass

protected String getFailingMessageForClass(Class<?> entityClass,
                                           Class<org.neo4j.graphdb.Relationship> stateClass)
Overrides:
getFailingMessageForClass in class org.springframework.data.persistence.AbstractConstructorEntityInstantiator<RelationshipBacked,org.neo4j.graphdb.Relationship>

Spring Data Graph

Copyright © 2011 SpringSource. All Rights Reserved.