|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value={FIELD,METHOD})
@Retention(value=RUNTIME)
public @interface PrivateOwnedSpecify that the elements of a OneToMany are private owned.
This means that if they are removed from the List/Set/Map they will be deleted when their parent object is saved.
This could also be described as deleting orphans - in that beans removed from the List/Set/Map will be deleted automatically when the parent bean is saved.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||