public class LockableRelationship extends Object implements Relationship
| Constructor and Description |
|---|
LockableRelationship(long id) |
| Modifier and Type | Method and Description |
|---|---|
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() |
public void delete()
delete in interface Relationshippublic Node getEndNode()
getEndNode in interface Relationshippublic long getId()
getId in interface Relationshippublic GraphDatabaseService getGraphDatabase()
getGraphDatabase in interface PropertyContainerpublic Node[] getNodes()
getNodes in interface Relationshippublic Node getOtherNode(Node node)
getOtherNode in interface Relationshippublic Object getProperty(String key)
getProperty in interface PropertyContainerpublic Object getProperty(String key, Object defaultValue)
getProperty in interface PropertyContainerpublic Iterable<String> getPropertyKeys()
getPropertyKeys in interface PropertyContainerpublic Iterable<Object> getPropertyValues()
getPropertyValues in interface PropertyContainerpublic Node getStartNode()
getStartNode in interface Relationshippublic RelationshipType getType()
getType in interface Relationshippublic boolean isType(RelationshipType type)
isType in interface Relationshippublic boolean hasProperty(String key)
hasProperty in interface PropertyContainerpublic Object removeProperty(String key)
removeProperty in interface PropertyContainerpublic void setProperty(String key, Object value)
setProperty in interface PropertyContainerCopyright © 2002–2013 The Neo4j Graph Database Project. All rights reserved.