org.neo4j.kernel.ha
Class LockableRelationship
java.lang.Object
org.neo4j.kernel.ha.LockableRelationship
- All Implemented Interfaces:
- org.neo4j.graphdb.PropertyContainer, org.neo4j.graphdb.Relationship
public class LockableRelationship
- extends Object
- implements org.neo4j.graphdb.Relationship
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-2012 The Neo4j Graph Database Project. All Rights Reserved.