@Retention(value=RUNTIME) @Target(value=FIELD) @Documented @Inherited @API(status=STABLE, since="6.0") public @interface Relationship
| Modifier and Type | Optional Element and Description |
|---|---|
Relationship.Direction |
direction
If
direction is Relationship.Direction.OUTGOING, than the attribute annotated with Relationship will be
the target node of the relationship and the class containing the annotated attribute will be the start node. |
String |
type |
String |
value |
public abstract Relationship.Direction direction
direction is Relationship.Direction.OUTGOING, than the attribute annotated with Relationship will be
the target node of the relationship and the class containing the annotated attribute will be the start node.
If direction is Relationship.Direction.INCOMING, than the attribute annotated with Relationship will be
the start node of the relationship and the class containing the annotated attribute will be the end node.
Copyright © 2019–2021 Neo4j, Neo4j Sweden AB. All rights reserved.