Package org.neo4j.ogm.annotation
Annotation Interface Relationship
Identifies field that is to be represented as a relationship
- Author:
- Vince Bickers, Frantisek Hartman, Gerrit Meier, Michael J. Simons
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Enumeration of the direction a relationship can take. -
Optional Element Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final Relationship.Direction
static final Relationship.Direction
static final String
static final Relationship.Direction
-
Field Details
-
TYPE
- See Also:
-
DIRECTION
- See Also:
-
INCOMING
-
OUTGOING
-
UNDIRECTED
-
-
Element Details
-
value
String value- Default:
- ""
-
type
String typeType of the relationship, defaults to name of the field in SNAKE_CASE- Default:
- ""
-
direction
Relationship.Direction directionDirection of the relationship. Defaults to OUTGOING. Possible values areRelationship.Direction.OUTGOING
,Relationship.Direction.INCOMING
andRelationship.Direction.UNDIRECTED
.- Default:
- OUTGOING
-