public class Node2Neo4jBeanConverter extends Object
| Constructor and Description |
|---|
Node2Neo4jBeanConverter() |
| Modifier and Type | Method and Description |
|---|---|
static Neo4jBean |
toNeo4jBean(CustomNode node)
Convert a custom node as retrieved from Neo4j initial structure call to a
Neo4jBean for inclusion in the hierarchy
|
static Neo4jBean |
toNeo4jBean(org.neo4j.graphdb.Node node,
long index)
Convert a neo4j node to a Neo4jBean
|
static Neo4jStructBean |
toNeo4jStruct(Hierarchy hierarchy)
Convert a hierarchy to a Neo4jStructBean
|
public static Neo4jBean toNeo4jBean(org.neo4j.graphdb.Node node, long index)
node - The node to convertindex - The index of the nodepublic static Neo4jStructBean toNeo4jStruct(Hierarchy hierarchy)
hierarchy - The hierarchy to convertpublic static Neo4jBean toNeo4jBean(CustomNode node)
node - The CustomNode to convertCopyright © 2015 Europeana Foundation. All rights reserved.