org.reco4j.graph.neo4j
Class Neo4JEdge

java.lang.Object
  extended by org.reco4j.graph.BasicEdge
      extended by org.reco4j.graph.neo4j.Neo4JEdge
All Implemented Interfaces:
org.reco4j.graph.IEdge

public class Neo4JEdge
extends org.reco4j.graph.BasicEdge

Author:
Alessandro Negro

Constructor Summary
Neo4JEdge(org.neo4j.graphdb.Relationship edge)
           
 
Method Summary
 org.reco4j.graph.INode getDestination()
           
 org.neo4j.graphdb.Relationship getEdge()
           
 long getId()
           
 String getPermissiveProperty(String name)
           
 String getProperty(String name)
           
 org.reco4j.graph.INode getSource()
           
 void setEdge(org.neo4j.graphdb.Relationship edge)
           
 void setId(long id)
           
 void setProperty(String name, Object value)
           
 
Methods inherited from class org.reco4j.graph.BasicEdge
getExtendedInfos, setExtendedInfos
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Neo4JEdge

public Neo4JEdge(org.neo4j.graphdb.Relationship edge)
Method Detail

setProperty

public void setProperty(String name,
                        Object value)

getProperty

public String getProperty(String name)

getSource

public org.reco4j.graph.INode getSource()

getDestination

public org.reco4j.graph.INode getDestination()

getEdge

public org.neo4j.graphdb.Relationship getEdge()

setEdge

public final void setEdge(org.neo4j.graphdb.Relationship edge)

getPermissiveProperty

public String getPermissiveProperty(String name)

getId

public long getId()

setId

public void setId(long id)


Copyright © 2013. All Rights Reserved.