com.tinkerpop.blueprints.impls.neo4j
Class Neo4jEdge
java.lang.Object
com.tinkerpop.blueprints.impls.neo4j.Neo4jEdge
- All Implemented Interfaces:
- Edge, Element
public class Neo4jEdge
- extends Object
- implements Edge
- Author:
- Marko A. Rodriguez (http://markorodriguez.com)
|
Constructor Summary |
protected |
Neo4jEdge(org.neo4j.graphdb.Relationship relationship,
Neo4jGraph graph)
|
protected |
Neo4jEdge(org.neo4j.graphdb.Relationship relationship,
Neo4jGraph graph,
boolean isNew)
|
graph
protected final Neo4jGraph graph
rawElement
protected org.neo4j.graphdb.PropertyContainer rawElement
Neo4jEdge
protected Neo4jEdge(org.neo4j.graphdb.Relationship relationship,
Neo4jGraph graph)
Neo4jEdge
protected Neo4jEdge(org.neo4j.graphdb.Relationship relationship,
Neo4jGraph graph,
boolean isNew)
getLabel
public String getLabel()
- Specified by:
getLabel in interface Edge
getVertex
public Vertex getVertex(Direction direction)
- Specified by:
getVertex in interface Edge
equals
public boolean equals(Object object)
toString
public String toString()
- Overrides:
toString in class Object
getRawEdge
public org.neo4j.graphdb.Relationship getRawEdge()
getProperty
public Object getProperty(String key)
- Specified by:
getProperty in interface Element
setProperty
public void setProperty(String key,
Object value)
- Specified by:
setProperty in interface Element
removeProperty
public Object removeProperty(String key)
- Specified by:
removeProperty in interface Element
getPropertyKeys
public Set<String> getPropertyKeys()
- Specified by:
getPropertyKeys in interface Element
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
getRawElement
public org.neo4j.graphdb.PropertyContainer getRawElement()
getId
public Object getId()
- Specified by:
getId in interface Element
Copyright © 2010-2012. All Rights Reserved.