Re: What should get method return types be??
"Rick Reumann" <[email protected]> Mon, 12 May 2003 02:33:05 -0400
| Newsgroups | gmane.comp.java.mvc.devel |
|---|---|
| Organization | baseBeans Engineering |
| Message-ID | <[email protected]> |
On Mon, 12 May 2003 01:56:47 -0400, Rick Reumann wrote: > The easiest (and it seems to work fine) is to simply return type Object > for the getters. Well, I just realized this doesn't follow the contract necessary to convert the Bean into a FormBean in the actions, so I guess I better stick to String return types. I'll have to think about how to best handle this for my generic LabelValueBean - although for that one, in theory, I could stick to Object return types since it 'probably' won't ever be used as a type of ActionForm (then again you never know:). -- Rick