Annotation Type CollectionMapping
-
@Retention(RUNTIME) @Target(METHOD) @Inherited public @interface CollectionMapping
An annotation that defines the type of collection and the type of elements to use when creating the collection in a bean context.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.Class<? extends java.util.Collection>
collectionClass
The concrete class to use as a collection.java.lang.Class<?>
elementClass
The class to use as the elements of the collection (since the generics type isn't known at run time).
-