Annotation Interface Composition


@Target({METHOD,FIELD}) @Retention(RUNTIME) public @interface Composition
Marks a reference as composition. Composition implies ownership, that is the referenced object exists only as part of the owning entity.

An attribute marked with this annotation yields the MetaProperty of type MetaProperty.Type.COMPOSITION