org.neo4j.kernel.ha
Class LockableRelationship
java.lang.Object
org.neo4j.kernel.ha.LockableRelationship
- All Implemented Interfaces:
- PropertyContainer, Relationship
public class LockableRelationship
- extends Object
- implements Relationship
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.