On 7/11/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > A bean is self-documenting in that you can immediately tell what its > attributes are and what types they are. I'm not even talking about > generating javadoc from the source either, but that's certainly a very > nice by-product.
If I could have a property in Delphi or C# style... Or if I could at least write something like that: /** * Flag that demo mode is on */ private boolean isDemo; public boolean getIsDemo() { ... } public setIsDemo(boolean isDemo) { ... } ... and my methods *would be commented in javadoc* too, it would be much better than current approach with lots of lines and comments for each getter/setter. Three properties commented in current approved Java style, and you already lost in the code. This sucks. Michael. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]