Re: Public/Private Composition (Code Generation)
"Tom Morris" <[email protected]>
| Newsgroups | gmane.comp.lang.uml.argouml.user |
|---|---|
| Message-ID | <[email protected]> |
On Nov 24, 2007 4:46 PM, Motaz K. Saad <[email protected]> wrote: > I used Composition relationship in my classes. But when I generate code > composed attributes are generated as public members. How can I make them > private? Visibility is orthogonal to whether it's a Composition or not. Change the visibility of the destination AssociationEnd to private and the generated code will follow suit. Tom