@Target(value={ANNOTATION_TYPE,FIELD,METHOD})
@Retention(value=RUNTIME)
public @interface JsonBackReference
All references have logical name to allow handling multiple linkages; typical case would be that where nodes have both parent/child and sibling linkages. If so, pairs of references should be named differently. It is an error for a class to have multiple back references with same name, even if types pointed are different.
Note: only methods and fields can be annotated with this annotation: constructor arguments should NOT be annotated, as they can not be either managed or back references.
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
value
Logical have for the reference property pair; used to link managed and
back references.
|
public abstract java.lang.String value
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"