Chad,
You are not answerin g my question, I understand the modeling constrain of AndroMDA regarding the generation of ValueObject.
The question was, why is code genereted that way? are you followin some kind of pattern?
Isn't it more natural to have private attributes acceced by public mutators (getter and setters)?
Vielen Dank!
Diego Bendlin
PricewaterhouseCoopers - Advisory
Asunci�n - Paraguay
Phone : +595 21 445-003 ext. 1314
Mobile : +595 991 744-220
| Chad Brandon <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED] 14/03/2005 14:46
|
To: Diego Bendlin/PY/ABAS/[EMAIL PROTECTED] cc: [email protected] Subject: Re: [Andromda-user] ValueObjects |
[EMAIL PROTECTED] wrote:
>
> Hello,
>
> I have a question, is Value Object generation in AndroMDA based on
> some pattern?
> Why are getter and setter method generated with the same visibility
> than attributes?
>
Because the attributes themselves are always private...the visibiltiy
reflects the getter and setter visibility.
> Thanks a Lot!
>
> *Diego Bendlin*
> PricewaterhouseCoopers - Advisory
> Asunci�n - Paraguay
> Phone : +595 21 445-003 ext. 1314
> Mobile : +595 991 744-220
>
>
> _________________________________________________________________
> The information transmitted is intended only for the person or entity
> to which it is addressed and may contain confidential and/or
> privileged material. Any review, retransmission, dissemination or
> other use of, or taking of any action in reliance upon, this
> information by persons or entities other than the intended recipient
> is prohibited. If you received this in error, please contact the
> sender and delete the material from any computer.
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user
_________________________________________________________________
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
