Annotation Type Backlink
@Retention(CLASS) @Target(FIELD) @Beta public @interface BacklinkDefines a backlink relation, which is based on another relation reversing the direction.
Example (to-one relation): one "Order" references one "Customer". The backlink to this is a to-many in the reverse direction: one "Customer" has a number of "Order"s.
Example (to-many relation): one "Teacher" references multiple "Student"s. The backlink to this: one "Student" has a number of "Teacher"s.
Note: changes made to a backlink relation based on a to-many relation are ignored.
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description
toName of the relation the backlink should be based on (e.g.