org.neo4j.kernel.ha
Class LockableRelationship

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

public class LockableRelationship
extends Object
implements Relationship


Method Summary
 void delete()
           
 boolean equals(Object o)
           
 Node getEndNode()
           
 GraphDatabaseService getGraphDatabase()
           
 long getId()
           
 Node[] getNodes()
           
 Node getOtherNode(Node node)
           
 Object getProperty(String key)
           
 Object getProperty(String key, Object defaultValue)
           
 Iterable<String> getPropertyKeys()
           
 Iterable<Object> getPropertyValues()
           
 Node getStartNode()
           
 RelationshipType getType()
           
 int hashCode()
           
 boolean hasProperty(String key)
           
 boolean isType(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
 

Method Detail

delete

public void delete()
Specified by:
delete in interface Relationship

getEndNode

public Node getEndNode()
Specified by:
getEndNode in interface Relationship

getId

public long getId()
Specified by:
getId in interface Relationship

getGraphDatabase

public GraphDatabaseService getGraphDatabase()
Specified by:
getGraphDatabase in interface PropertyContainer

getNodes

public Node[] getNodes()
Specified by:
getNodes in interface Relationship

getOtherNode

public Node getOtherNode(Node node)
Specified by:
getOtherNode in interface Relationship

getProperty

public Object getProperty(String key)
Specified by:
getProperty in interface PropertyContainer

getProperty

public Object getProperty(String key,
                          Object defaultValue)
Specified by:
getProperty in interface PropertyContainer

getPropertyKeys

public Iterable<String> getPropertyKeys()
Specified by:
getPropertyKeys in interface PropertyContainer

getPropertyValues

public Iterable<Object> getPropertyValues()
Specified by:
getPropertyValues in interface PropertyContainer

getStartNode

public Node getStartNode()
Specified by:
getStartNode in interface Relationship

getType

public RelationshipType getType()
Specified by:
getType in interface Relationship

isType

public boolean isType(RelationshipType type)
Specified by:
isType in interface Relationship

hasProperty

public boolean hasProperty(String key)
Specified by:
hasProperty in interface PropertyContainer

removeProperty

public Object removeProperty(String key)
Specified by:
removeProperty in interface PropertyContainer

setProperty

public void setProperty(String key,
                        Object value)
Specified by:
setProperty in interface 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 © 2010 The Neo4j Graph Database Project. All Rights Reserved.