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 Note that at this point the
node's rdf:about identifier is renamed to 'id' in the Neo4jBean
|
static Neo4jBean |
toNeo4jBean(CustomNode node,
long index)
Overridden, added long node.index Convert a custom node as retrieved from
Neo4j initial structure call to a Neo4jBean for inclusion in the
hierarchy Note that at this point the node's rdf:about identifier is
renamed to 'id' in the Neo4jBean
|
static Neo4jBean |
toNeo4jBean(org.neo4j.graphdb.Node node)
Convert a neo4j node to a Neo4jBean keeping the original index
|
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
|
static Neo4jStructBean |
toNeo4jStruct(Hierarchy hierarchy,
long index)
Overridden, added long node.index 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 Neo4jBean toNeo4jBean(org.neo4j.graphdb.Node node)
node - The node to convertpublic static Neo4jStructBean toNeo4jStruct(Hierarchy hierarchy)
hierarchy - The hierarchy to convertpublic static Neo4jStructBean toNeo4jStruct(Hierarchy hierarchy, long index)
hierarchy - The hierarchy to convertindex - the index of the corresponding Neo4j start nodepublic static Neo4jBean toNeo4jBean(CustomNode node)
node - the CustomNode to convertpublic static Neo4jBean toNeo4jBean(CustomNode node, long index)
node - The CustomNode to convertindex - the index of the corresponding Neo4j nodeCopyright © 2017 Europeana Foundation. All rights reserved.