Re: [mdr-users] JMI mapping problem on package subtyping
Frédérick Seyler <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.mdr.user |
|---|---|
| Message-ID | <[email protected]> |
Martin Matula a écrit :
> That's weird - the elements should be referenced using fully qualified
> names so no java import should be necessary. This seems like a JMI
> mapper bug. Could you create a new issue in issuezilla against mdr
> module and attach your metamodel (or any other simple metamodel that
> demonstrates the issue)? Thanks in advance,
> Martin
>
> Frédérick Seyler wrote:
>
>> Hi,
>> I'am now trying to use subtyping and import relation between MOF
>> packages
>> "Origin" package is a subtype of "Interface" and and imports
>> "Implementation" package I directly added an association between an
>> objects of Interface and an object of Implementation in Origin package,
>> in the XMI file.
>
Hi,
I have hand-written this XMI file. I would like to replace this by a
java file doing the same thing
How can I access the elemens of a super type package using the subtype
one?
Interface is the supertype package and contains "UgatzeComponent" class
Origin is a subtype package of Interface
How can I access UgatzeComponent from Origin?
Origin.lookupElement("UgatzeComponent") fails
thanks
--
Seyler Frédérick
IUT de Bayonne
Laboratoire d'Informatique Appliquée de l'UPPA, bureau 254
Château-Neuf - Place Paul Bert - 64100 Bayonne - FRANCE
Tél: (+33) [0]5 59 57 43 22 (TRA) - Fax: (+33) [0]5 59 57 42 86 (TRA)
Tél: (+33) [0]6-71-00-70-84 (MOB)