org.loom.annotation
Annotation Type CollectionMetadata


@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
@Documented
public @interface CollectionMetadata

Annotation for multiple values: List and arrays. Because of type erasure, I cannot guess the type of the node in a List, event using generics. Java 7 will fix that, but until it arrives this annotation is required.


Optional Element Summary
 java.lang.Class<? extends Converter> itemConverter
          For end nodes, the Converter that will be applied for each item in the collection.
 

itemConverter

public abstract java.lang.Class<? extends Converter> itemConverter
For end nodes, the Converter that will be applied for each item in the collection. If unspecified, it will be guessed using the itemClass.

Default:
org.loom.converter.NullConverter.class