--- Scott Tavares <[EMAIL PROTECTED]> wrote:
> The Attr class has getter methods for the different
> data types but no setter
> methods, why? if need be i will add them unless
> someone can tell me why they
> are not needed.
>
> -scott-
Of course, you can add if you like.
But not needed at all. I've constructed examples and
built the system without them. The construction
methods have been sufficient for this. You might note
that there's no no-arg constructor.
You should read Chapter 2 of The Java Programming
Language for a discussion of why one might require
initial values to be set in construction.
Do you have something in a concrete example or
something in the implementation that needs the setter
methods?
-- george
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]