commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Juozas Baliuka" <bali...@centras.lt>
Subject Re: [beanutils] Map as a pseudo-bean...? [was Re: [beanutils] PropertyUtils.setProperty on classes which extend Map]
Date Tue, 26 Nov 2002 20:07:29 GMT
It is trivial to generate "bean" at runtime, but it can be used in
"untyped" languages only.
 Map can be used the same way, without any "adapter".
I think type information is useless in this case ( "script" doe's not use
it ).
Are "dynabeans" used as some kind of workaround for "not map enabled"
frameworks  ?

----- Original Message -----
From: "Stephen Colebourne" <scolebourne@btopenworld.com>
To: "Jakarta Commons Developers List" <commons-dev@jakarta.apache.org>
Sent: Tuesday, November 26, 2002 9:50 PM
Subject: Re: [beanutils] Map as a pseudo-bean...? [was Re: [beanutils]
PropertyUtils.setProperty on classes which extend Map]


> From: "robert burrell donkin" <robertburrelldonkin@blueyonder.co.uk>
> > a map could act as a pseudo-bean by having each key-value pair act as a
> > pseudo-property. the name of the property corresponds to the key (from
the
> > pair) and the property value corresponds to the value (from the pair).
>
> FYI, this is part of what [clazz] is trying to achieve.
>
> Stephen
>
>
> --
> To unsubscribe, e-mail:
<mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:commons-dev-help@jakarta.apache.org>
>


--
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