commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ola Berg <ola.b...@arkitema.se>
Subject Re: [beanutils] DynaBean support for \'adders\'
Date Fri, 14 Jun 2002 14:58:13 GMT
On Friday 14 June 2002 14.08, James Strachan wrote:
> What do folks think about adding a new method to DynaBean called...

> public interface DynaBean {
>     public void add(String name, Object value);
> }

I definitely think that the adder pattern should be supported.

I also would suggest \"renaming\"  (deprecating old method, inserting new method)

set( String key, Object value) 

to 

put( String key, Object value)

following the put()-method convention in java.util.Map.

/O

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message