--- Craig McClanahan <[EMAIL PROTECTED]> wrote:

>  2/16/06, Matt Benson <[EMAIL PROTECTED]> wrote:
> > Craig:  thanks for your quick reply.  My (possibly
> > naive) impression was that you would specify
> > DynaBean's get(String) and set(String, Object)
> > methods... :)  Now, tell me why that won't work as
> > expected.  ;)
> 
> 
> Because a tool like Java Studio Creator (my day job
> is architect for this)
> is going to assume that these methods conform to the
> JavaBeans design
> patterns for properties ... a getter that takes zero
> arguments, and a setter
> that takes one argument (the value).  Trying to use
> these methods will cause
> the tool's reflective get or set call to fail
> because the argument types and
> counts won't match.

Doh!  Plain as can be.  I tend to ignore these little
rules regarding settors/gettors on beans, and here's
the proof.  So instantly what was simple becomes
extremely complex!  :)  Ouch.  Can't think of any
slick way around that off the top of my head... and I
assume I'm not the first, then.

Thanks,
Matt

> 
> -Matt
> 
> 
> Craig
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to