public class Neo4j2Vertex extends Object implements com.tinkerpop.blueprints.Vertex
Modifier and Type | Field and Description |
---|---|
protected Neo4j2Graph |
graph |
protected org.neo4j.graphdb.PropertyContainer |
rawElement |
Constructor and Description |
---|
Neo4j2Vertex(org.neo4j.graphdb.Node node,
Neo4j2Graph graph) |
Modifier and Type | Method and Description |
---|---|
com.tinkerpop.blueprints.Edge |
addEdge(String label,
com.tinkerpop.blueprints.Vertex vertex) |
void |
addLabel(String label) |
boolean |
equals(Object object) |
Iterable<com.tinkerpop.blueprints.Edge> |
getEdges(com.tinkerpop.blueprints.Direction direction,
String... labels) |
Object |
getId() |
Collection<String> |
getLabels() |
<T> T |
getProperty(String key) |
Set<String> |
getPropertyKeys() |
org.neo4j.graphdb.PropertyContainer |
getRawElement() |
org.neo4j.graphdb.Node |
getRawVertex() |
Iterable<com.tinkerpop.blueprints.Vertex> |
getVertices(com.tinkerpop.blueprints.Direction direction,
String... labels) |
int |
hashCode() |
com.tinkerpop.blueprints.VertexQuery |
query() |
void |
remove() |
void |
removeLabel(String label) |
<T> T |
removeProperty(String key) |
void |
setProperty(String key,
Object value) |
String |
toString() |
protected final Neo4j2Graph graph
protected org.neo4j.graphdb.PropertyContainer rawElement
public Neo4j2Vertex(org.neo4j.graphdb.Node node, Neo4j2Graph graph)
public Iterable<com.tinkerpop.blueprints.Edge> getEdges(com.tinkerpop.blueprints.Direction direction, String... labels)
getEdges
in interface com.tinkerpop.blueprints.Vertex
public Iterable<com.tinkerpop.blueprints.Vertex> getVertices(com.tinkerpop.blueprints.Direction direction, String... labels)
getVertices
in interface com.tinkerpop.blueprints.Vertex
public com.tinkerpop.blueprints.Edge addEdge(String label, com.tinkerpop.blueprints.Vertex vertex)
addEdge
in interface com.tinkerpop.blueprints.Vertex
public Collection<String> getLabels()
public void addLabel(String label)
public void removeLabel(String label)
public com.tinkerpop.blueprints.VertexQuery query()
query
in interface com.tinkerpop.blueprints.Vertex
public boolean equals(Object object)
public org.neo4j.graphdb.Node getRawVertex()
public <T> T getProperty(String key)
getProperty
in interface com.tinkerpop.blueprints.Element
public void setProperty(String key, Object value)
setProperty
in interface com.tinkerpop.blueprints.Element
public <T> T removeProperty(String key)
removeProperty
in interface com.tinkerpop.blueprints.Element
public Set<String> getPropertyKeys()
getPropertyKeys
in interface com.tinkerpop.blueprints.Element
public org.neo4j.graphdb.PropertyContainer getRawElement()
public Object getId()
getId
in interface com.tinkerpop.blueprints.Element
public void remove()
remove
in interface com.tinkerpop.blueprints.Element
Copyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.