Annotation Interface BeanParent


@Target({FIELD,METHOD}) @Retention(RUNTIME) public @interface BeanParent
When a target-side property needs to become the value of its parent, it must be annotated with BeanParent. The annotation works both on the source and target sides. If the annotation is set, no regular mapping will take place.