Danny Angus wrote:

> FWIW I'm in favour of encapsulation but the accessors should
> be protected.

Absolutely, unless the public interface requires otherwise.

> I also think that using a prefix of   "field" is ugly and unnecessary
>  why do we want them to be beans?
> underscore, so
> instead of fieldServerName we would have _serverName which is
> easier on the
> eye.

As with many things, beauty is in the eye of the beholder. I think that all
we need to say is that a java-legal prefix should be used and not get hung
up on what it actually is.

I wish I hadn't mentioned beans, especially as a bean requires the accessor
methods to be public and we are mainly discussing protected accessors here.

-- Steve

- - - - - - - - - - - - - - - - - -

This private and confidential e-mail has been sent to you by Synergy Systems Limited. 
It may not represent the views of Synergy Systems Limited.

If you are not the intended recipient of this e-mail and have received it in error, 
please notify the sender by replying with "received in error" as the subject and then 
delete it from your mailbox.


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

Reply via email to