[Uml-devel] Association merge patch

Jonathan Riddell jr at jriddell.org
Mon Jan 27 14:39:04 UTC 2003


On Mon, 27 Jan 2003, Brian Thomas wrote:

I've committed Oliver's association and ada generator patch (to KDE).

> 	Ok, I have done some merging of Oliver's patch with my
> own(attached as gziped patch file).
> 	Now his UMLAssociation class has attributes of "Name",
> "Changeability[ab]" and "visibility[ab]".
> 	The patch is not quite complete, Im afraid. Basically the XMI
> attribute UML:Association is out of sync
> 	with the information in UML:AssociationWidget. Basically, we can
> solve this issue nicely
> 	by syncing up associationwidgetdata class with UMLAssociation.
>
> 	I propose that associationwidgetdata class aggregate a
> UMLAssociation. Also, methods which
> 	call for attributes, ex. RoleName A, simply point to container
> object attributes. This means that
>
> 	associationwidget.getRoleA() is simply a wrapper for the call:
>
> 	associationwidget.getData().getUMLAssociation.getRoleNameA()
>
> 	and so on. This will greatly help the obfusticated state of the
> code in the associationwidget
> 	and associationwidgetdata classes. I am willing to do this work
> if people on the list agree
> 	they like that proposal.

Any duplicated information should be removed.  This sounds like about the
easiest way to do it for now.  If you did the work that would be
excellent.

Jonathan Riddell






More information about the umbrello-devel mailing list