public class Neo4j2Edge extends Object implements com.tinkerpop.blueprints.Edge
Modifier and Type | Field and Description |
---|---|
protected Neo4j2Graph |
graph |
protected org.neo4j.graphdb.PropertyContainer |
rawElement |
Constructor and Description |
---|
Neo4j2Edge(org.neo4j.graphdb.Relationship relationship,
Neo4j2Graph graph) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
Object |
getId() |
String |
getLabel() |
<T> T |
getProperty(String key) |
Set<String> |
getPropertyKeys() |
org.neo4j.graphdb.Relationship |
getRawEdge() |
org.neo4j.graphdb.PropertyContainer |
getRawElement() |
com.tinkerpop.blueprints.Vertex |
getVertex(com.tinkerpop.blueprints.Direction direction) |
int |
hashCode() |
void |
remove() |
<T> T |
removeProperty(String key) |
void |
setProperty(String key,
Object value) |
String |
toString() |
protected final Neo4j2Graph graph
protected org.neo4j.graphdb.PropertyContainer rawElement
public Neo4j2Edge(org.neo4j.graphdb.Relationship relationship, Neo4j2Graph graph)
public String getLabel()
getLabel
in interface com.tinkerpop.blueprints.Edge
public com.tinkerpop.blueprints.Vertex getVertex(com.tinkerpop.blueprints.Direction direction)
getVertex
in interface com.tinkerpop.blueprints.Edge
public boolean equals(Object object)
public org.neo4j.graphdb.Relationship getRawEdge()
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.