Added .isCollection to PropertyInfo?, and also added .getCollectionClass which tries to determine out of the generic declaration what is the type of the collection.
If it does not manage to determine it, currently it is not available. It could anyway be determined by other informations (like a @OneToMany? annotation), but that is out of the scope right now.
- the handler should be able to deal with reading and writing collection entries
- the handler should be able to deal with addition and removal of elements.
- the form should be able to bind to elements of the collection
How to do this if collection is not a list (or does not have some kind of "index")? Using hashCode as a key (if the hashCode methods in not implemented could yeld unpredictable results)? Using the database id if present? Using the convertor value for it?