org.springframework.data.graph.neo4j.support.node
Class NodeEntityInstantiator
java.lang.Object
org.springframework.data.persistence.AbstractConstructorEntityInstantiator<NodeBacked,org.neo4j.graphdb.Node>
org.springframework.data.graph.neo4j.support.node.NodeEntityInstantiator
- All Implemented Interfaces:
- org.springframework.data.persistence.EntityInstantiator<NodeBacked,org.neo4j.graphdb.Node>
public class NodeEntityInstantiator
- extends org.springframework.data.persistence.AbstractConstructorEntityInstantiator<NodeBacked,org.neo4j.graphdb.Node>
Implementation of an entity instantiator for neo4j graphdb nodes, binding the entity type to a NodeBacked and the
underlying state to a neo4j Node
.
Part of the SPI, not intended for public use.
- Author:
- Rod Johnson
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 |
NodeEntityInstantiator
public NodeEntityInstantiator()
setState
protected void setState(NodeBacked entity,
org.neo4j.graphdb.Node s)
- Specified by:
setState
in class org.springframework.data.persistence.AbstractConstructorEntityInstantiator<NodeBacked,org.neo4j.graphdb.Node>
getFailingMessageForClass
protected String getFailingMessageForClass(Class<?> entityClass,
Class<org.neo4j.graphdb.Node> stateClass)
- Overrides:
getFailingMessageForClass
in class org.springframework.data.persistence.AbstractConstructorEntityInstantiator<NodeBacked,org.neo4j.graphdb.Node>
Copyright © 2011. All Rights Reserved.