graph_gen_utils.memory_graph
Class MemRel
java.lang.Object
graph_gen_utils.memory_graph.MemRel
- All Implemented Interfaces:
- org.neo4j.graphdb.PropertyContainer, org.neo4j.graphdb.Relationship
public class MemRel
- extends java.lang.Object
- implements org.neo4j.graphdb.Relationship
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemRel
public MemRel(long id,
MemNode startNode,
MemNode endNode)
getId
public long getId()
- Specified by:
getId
in interface org.neo4j.graphdb.Relationship
delete
public void delete()
- Specified by:
delete
in interface org.neo4j.graphdb.Relationship
getStartNode
public org.neo4j.graphdb.Node getStartNode()
- Specified by:
getStartNode
in interface org.neo4j.graphdb.Relationship
getEndNode
public org.neo4j.graphdb.Node getEndNode()
- Specified by:
getEndNode
in interface org.neo4j.graphdb.Relationship
getOtherNode
public org.neo4j.graphdb.Node getOtherNode(org.neo4j.graphdb.Node node)
- Specified by:
getOtherNode
in interface org.neo4j.graphdb.Relationship
getNodes
public org.neo4j.graphdb.Node[] getNodes()
- Specified by:
getNodes
in interface org.neo4j.graphdb.Relationship
getProperty
public java.lang.Object getProperty(java.lang.String key)
- Specified by:
getProperty
in interface org.neo4j.graphdb.PropertyContainer
getPropertyKeys
public java.lang.Iterable<java.lang.String> getPropertyKeys()
- Specified by:
getPropertyKeys
in interface org.neo4j.graphdb.PropertyContainer
getPropertyValues
public java.lang.Iterable<java.lang.Object> getPropertyValues()
- Specified by:
getPropertyValues
in interface org.neo4j.graphdb.PropertyContainer
hasProperty
public boolean hasProperty(java.lang.String key)
- Specified by:
hasProperty
in interface org.neo4j.graphdb.PropertyContainer
removeProperty
public java.lang.Object removeProperty(java.lang.String key)
- Specified by:
removeProperty
in interface org.neo4j.graphdb.PropertyContainer
setProperty
public void setProperty(java.lang.String key,
java.lang.Object value)
- Specified by:
setProperty
in interface org.neo4j.graphdb.PropertyContainer
getType
public org.neo4j.graphdb.RelationshipType getType()
- Specified by:
getType
in interface org.neo4j.graphdb.Relationship
isType
public boolean isType(org.neo4j.graphdb.RelationshipType type)
- Specified by:
isType
in interface org.neo4j.graphdb.Relationship
getProperty
public java.lang.Object getProperty(java.lang.String key,
java.lang.Object defaultValue)
- Specified by:
getProperty
in interface org.neo4j.graphdb.PropertyContainer
getGraphDatabase
public org.neo4j.graphdb.GraphDatabaseService getGraphDatabase()
- Specified by:
getGraphDatabase
in interface org.neo4j.graphdb.PropertyContainer