Uses of Interface org.neo4j.api.core.Relationship (Neo 1.0-b6 API)

Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
org.neo4j.api.core.Relationship

Uses of Relationship in org.neo4j.api.core

Methods in org.neo4j.api.core that return Relationship
`Relationship` | `Node.createRelationshipTo(Node otherNode, RelationshipType type)` Creates a relationship between this node and another node.
`Relationship` | `Node.getSingleRelationship(RelationshipType type, Direction dir)` Returns the only relationship of a given type and direction that is attached to this node, or `null`.
`Relationship` | `TraversalPosition.lastRelationshipTraversed()` Return the last relationship traversed, may be null.

Methods in org.neo4j.api.core that return types with arguments of type Relationship
`Iterable<Relationship>` | `Node.getRelationships()` Returns all the relationships attached to this node.
`Iterable<Relationship>` | `Node.getRelationships(Direction dir)` Returns all `OUTGOING` or `INCOMING` relationships from this node.
`Iterable<Relationship>` | `Node.getRelationships(RelationshipType... types)` Returns all the relationships of any of the types in `types` that are attached to this node, regardless of direction.
`Iterable<Relationship>` | `Node.getRelationships(RelationshipType type, Direction dir)` Returns all relationships with the given type and direction that are attached to this node.

Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2007 Neo4j. All Rights Reserved.