RE: [beanutils] Indexed/Mapped DynaProperty

2004-02-13 Thread guillaume . tuloup
You're right, get(name, index)/set(name, index) could not apply to the Collection interface directly because the order is not guaranteed. But this means that Collection/Set are not treated by the current API in a neat way. Instead of dynabean.set(name, ((Collection) dynabean.get(name)).add(valu

RE: [beanutils] Indexed/Mapped DynaProperty

2004-02-13 Thread guillaume . tuloup
I'd like to add some remarks/questions: - in fact, the javadoc for the method DynaBean#get(String name) says "Return the value of a simple property with the specified name" and I though it was not allowed to call it on an indexed/mapped property without throwing an IllegalArgumentException - inde