Package io.micronaut.data.annotation
Annotation Interface Relation
Annotation used to indicate a field or method is a relation to another type. Typically not used
 directly but instead mapped to.
- Since:
- 1.0
- Author:
- graemerocher
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic enumCascade type handling for different associations.static enumThe relation kind.
- 
Required Element SummaryRequired Elements
- 
Optional Element SummaryOptional ElementsModifier and TypeOptional ElementDescriptionHow to cascade insert/delete operations to the associated entity.
- 
Element Details- 
valueRelation.Kind value- Returns:
- The relation kind.
 
 
- 
- 
- 
mappedByString mappedBy- Returns:
- The inverse property that this relation is mapped by
 - Default:
- ""
 
- 
cascadeRelation.Cascade[] cascadeHow to cascade insert/delete operations to the associated entity. Default is none.- Returns:
- The cascade handling
 - Default:
- {NONE}
 
 
-