Re: [mdr-users] xmi.id value

Dimitrios Kolovos <[email protected]> Fri, 17 Feb 2006 12:18:52 +0000
Newsgroups gmane.comp.java.netbeans.modules.mdr.user
Message-ID <[email protected]>
Thanks for your reply. I have done that and it works. Now I keep the 
xmi.id<->RefObject mapping in a HashSet. Is there any way to attach the 
xmi.id to the RefObject itself so that I do not have keep the mapping 
information separately?

Cheers,
Dimitrios

Martin Matula wrote:

> Not true in general.
> You can write your own XMIReferenceResolver and XMIReferenceProvider 
> where you can maintain mapping between the generated/read xmi.id and 
> MOF ID.
> Martin
>
> Tom Morris wrote:
>
>>> Is it possible to retrieve the value of the corresponding xmi.id for 
>>> a RefObject using MDR? I have googled a lot but not found an answer.
>>
>>
>>
>> RefBaseObject.refMofId() returns the value that will get serialized 
>> in the
>> xmi.id field.
>>
>> Tom
>
>