org.neo4j.kernel.ha.lock
Class LockableRelationship

java.lang.Object
  extended by org.neo4j.kernel.ha.lock.LockableRelationship
All Implemented Interfaces:
org.neo4j.graphdb.PropertyContainer, org.neo4j.graphdb.Relationship

public class LockableRelationship
extends Object
implements org.neo4j.graphdb.Relationship


Constructor Summary
LockableRelationship(long id)
           
 
Method Summary
 void delete()
           
 boolean equals(Object o)
           
 org.neo4j.graphdb.Node getEndNode()
           
 org.neo4j.graphdb.GraphDatabaseService getGraphDatabase()
           
 long getId()
           
 org.neo4j.graphdb.Node[] getNodes()
           
 org.neo4j.graphdb.Node getOtherNode(org.neo4j.graphdb.Node node)
           
 Object getProperty(String key)
           
 Object getProperty(String key, Object defaultValue)
           
 Iterable<String> getPropertyKeys()
           
 Iterable<Object> getPropertyValues()
           
 org.neo4j.graphdb.Node getStartNode()
           
 org.neo4j.graphdb.RelationshipType getType()
           
 int hashCode()
           
 boolean hasProperty(String key)
           
 boolean isType(org.neo4j.graphdb.RelationshipType type)
           
 Object removeProperty(String key)
           
 void setProperty(String key, Object value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LockableRelationship

public LockableRelationship(long id)
Method Detail

delete

public void delete()
Specified by:
delete in interface org.neo4j.graphdb.Relationship

getEndNode

public org.neo4j.graphdb.Node getEndNode()
Specified by:
getEndNode in interface org.neo4j.graphdb.Relationship

getId

public long getId()
Specified by:
getId in interface org.neo4j.graphdb.Relationship

getGraphDatabase

public org.neo4j.graphdb.GraphDatabaseService getGraphDatabase()
Specified by:
getGraphDatabase in interface org.neo4j.graphdb.PropertyContainer

getNodes

public org.neo4j.graphdb.Node[] getNodes()
Specified by:
getNodes 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

getProperty

public Object getProperty(String key)
Specified by:
getProperty in interface org.neo4j.graphdb.PropertyContainer

getProperty

public Object getProperty(String key,
                          Object defaultValue)
Specified by:
getProperty in interface org.neo4j.graphdb.PropertyContainer

getPropertyKeys

public Iterable<String> getPropertyKeys()
Specified by:
getPropertyKeys in interface org.neo4j.graphdb.PropertyContainer

getPropertyValues

public Iterable<Object> getPropertyValues()
Specified by:
getPropertyValues in interface org.neo4j.graphdb.PropertyContainer

getStartNode

public org.neo4j.graphdb.Node getStartNode()
Specified by:
getStartNode in interface org.neo4j.graphdb.Relationship

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

hasProperty

public boolean hasProperty(String key)
Specified by:
hasProperty in interface org.neo4j.graphdb.PropertyContainer

removeProperty

public Object removeProperty(String key)
Specified by:
removeProperty in interface org.neo4j.graphdb.PropertyContainer

setProperty

public void setProperty(String key,
                        Object value)
Specified by:
setProperty in interface org.neo4j.graphdb.PropertyContainer

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.