[Uml-devel] realize association bug

Carsten Pfeiffer carpdjih at mailbox.tu-berlin.de
Wed Dec 4 08:52:02 UTC 2002


-----BEGIN PGP SIGNED MESSAGE-----

On Wednesday 04 December 2002 16:57, you wrote:

> Do you know what the exact rules for relaise are?  (Infact what's the
> difference between realise and generalise and implements?)

Frankly, I'm wondering if there is an "implements" association at all in the 
UML spec. Generalisation is possible between class A and class B or Interface 
A and Interface B (or the other way round). 

A class can realize an interface, but an interface can't realize a class. And 
an interface can't realize an interface.

Maybe the "implementation" button in umbrello was supposed to show the 
different notations of an interface? There seem to be two different 
notations:

First, denotated as a regular class with the stereotype "Interface".

- --- <<Interface>>----
|        Foo        |
- ---------------------

Second, as small circle with the name next to it. In this case, a realization 
is not drawn as a dashed arrow, but as a straight line between class and 
interface (that way looking like the "implementation" thing in umbrello).

E.g. Together and Rose have the ability to switch between those notations.

Together doesn't even have an extra-button for realization. It only has a 
button "Generalization / Realization" and automatically draws a realization 
when it associates a class and an interface.


> Currently generalisation seems to be able to do anything except B to A
> where A already has a generalisation to B.

Yes, that's not possible. The same applies to interfaces.

Cheers and thanks for the quick reply!
Carsten Pfeiffer
-----BEGIN PGP SIGNATURE-----

iQEVAwUBPe4ycKWgYMJuwmZtAQFvNgf9HCQvgGfWy298eCcg4xMdJJ/jXYiA8tLr
GNAqdwPw8deBht/57xadDRgiU3A6rxhr7xAElMVa1J6nVqU+W2HghVTnq9v70q3L
lvbnMZ5uwPUnKqj5llzO3Y6ZTcVckIqPEHlUqYP72cXxvzfv+lT0LRSsidhLxpwq
XhfjN/FvGXL5w3H7JWcjJM9OUNToU2qxmzUsnzEJ59RXjJ6uk/sara75Zd4IkFat
hB7yeEyXIDVD5DMzhxj/mmufX6TDzlhprmEJHcTPW7oHuaK5x+03+D6o1VtZ+FIf
VEbbJJMzUQr1f6oyuBpPXZYOgnvSWlbidSGMoOtW6xchpZFoZmmymQ==
=/TrY
-----END PGP SIGNATURE-----





More information about the umbrello-devel mailing list