Spring Data Neo4j

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

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

public class RelationshipEntityInstantiator
extends AbstractConstructorEntityInstantiator<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(EntityStateHandler entityStateHandler)
           
 
Method Summary
protected  String getFailingMessageForClass(Class<?> entityClass, Class<org.neo4j.graphdb.Relationship> relationshipClass)
           
protected  Class<org.neo4j.graphdb.Relationship> getStateInterface()
          subclasses have to provide the concrete state interface
protected  void setState(Object entity, org.neo4j.graphdb.Relationship relationship)
          Subclasses must implement to set state
 
Methods inherited from class org.springframework.data.neo4j.support.mapping.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(EntityStateHandler entityStateHandler)
Method Detail

setState

protected void setState(Object entity,
                        org.neo4j.graphdb.Relationship relationship)
Description copied from class: AbstractConstructorEntityInstantiator
Subclasses must implement to set state

Specified by:
setState in class AbstractConstructorEntityInstantiator<org.neo4j.graphdb.Relationship>

getFailingMessageForClass

protected String getFailingMessageForClass(Class<?> entityClass,
                                           Class<org.neo4j.graphdb.Relationship> relationshipClass)
Overrides:
getFailingMessageForClass in class AbstractConstructorEntityInstantiator<org.neo4j.graphdb.Relationship>

getStateInterface

protected Class<org.neo4j.graphdb.Relationship> getStateInterface()
Description copied from class: AbstractConstructorEntityInstantiator
subclasses have to provide the concrete state interface

Specified by:
getStateInterface in class AbstractConstructorEntityInstantiator<org.neo4j.graphdb.Relationship>

Spring Data Neo4j

Copyright © 2012 SpringSource. All Rights Reserved.