Re: [mdr-users] RE : [mdr-users] Tran forming UML interface within MOF
Martin Matula <[email protected]> Wed, 12 Oct 2005 13:04:05 +0200
| Newsgroups | gmane.comp.java.netbeans.modules.mdr.user |
|---|---|
| Message-ID | <[email protected]> |
No, it is not possible. To do this, you could define a class E that defines the attribute and then make B and C also a subclasses of E (besides being subclasses of A) Martin Olivier RICHAUD wrote: > OK, I forgot to mention : > - A is the root > - B and C inherits from A. But also, and very important, B and C defines > an attribute with the same name > - D inherits from B and C > > --> Is this possible to do this????? > > > Thanks. > > Olivier. > > -----Message d'origine----- > De : Martin Matula [mailto:[email protected]] > Envoyé : mardi 11 octobre 2005 17:53 > à : [email protected] > Objet : Re: [mdr-users] Tran forming UML interface within MOF > > > Hi Olivier, > > Olivier RICHAUD wrote: > >>I need to transform a UML interface into a MOF element. As far as I >>know, the best choice would be a MofClass with flag abstract turned >>on. Do you agree? > > > Yes, I guess. > > >>By the way, we are having some problems with multiple inheritance. I >>mean : >>- A is the root >>- B and C inherits from A >>- D inherits from B and C. >>Is it possible to solve that issue? I think it is related to the way >>MDR is implemented. > > > What issue do you want to solve? I don't see any problem with that - we > use models that have this kind of hierarchy. > Martin >