Annotation 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 ElementsModifier and TypeRequired ElementDescriptionClass<? extends Collection> The concrete class to use as a collection.Class<?> The class to use as the elements of the collection (since the generics type isn't known at run time).
-
Element Details
-
collectionClass
Class<? extends Collection> collectionClassThe concrete class to use as a collection. -
elementClass
Class<?> elementClassThe class to use as the elements of the collection (since the generics type isn't known at run time).
-