com.tinkerpop.blueprints.impls.neo4j
Class Neo4jVertex
java.lang.Object
com.tinkerpop.blueprints.impls.neo4j.Neo4jVertex
- All Implemented Interfaces:
- Element, Vertex
public class Neo4jVertex
- extends Object
- implements Vertex
- Author:
- Marko A. Rodriguez (http://markorodriguez.com)
graph
protected final Neo4jGraph graph
rawElement
protected org.neo4j.graphdb.PropertyContainer rawElement
Neo4jVertex
protected Neo4jVertex(org.neo4j.graphdb.Node node,
Neo4jGraph graph)
getEdges
public Iterable<Edge> getEdges(Direction direction,
String... labels)
- Specified by:
getEdges in interface Vertex
getVertices
public Iterable<Vertex> getVertices(Direction direction,
String... labels)
- Specified by:
getVertices in interface Vertex
query
public Query query()
- Specified by:
query in interface Vertex
equals
public boolean equals(Object object)
toString
public String toString()
- Overrides:
toString in class Object
getRawVertex
public org.neo4j.graphdb.Node getRawVertex()
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.