Re: Cross Document References persistence with Translator [message #506835] |
Sun, 10 January 2010 20:45 |
|
Nidhi wrote:
> I am using Translators to persist my EMF model entities.
> This works fine otherwise but for the case of Cross Document References.
> In this case, I was expecting a similar to how EMF Resource persists as
> href with the location of the referenced document.
>
> However, instead of the location to the referenced document, the to
> string version of the referenced EMF entity is persisted.
>
> Please suggest what is going wrong in my case.
You may have better luck in an EMF newsgroup.
--
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
Re: Cross Document References persistence with Translator [message #506836 is a reply to message #506835] |
Sun, 10 January 2010 20:53 |
Ed Merks Messages: 33137 Registered: July 2009 |
Senior Member |
|
|
Unfortunately I know nothing about how the translator does things...
One could produce a URI that references an object using
EcoreUtil.getURI(), but I don't know how one would specialize the
translator framework to produce that result.
Nitin Dahyabhai wrote:
> Nidhi wrote:
>> I am using Translators to persist my EMF model entities.
>> This works fine otherwise but for the case of Cross Document
>> References. In this case, I was expecting a similar to how EMF
>> Resource persists as href with the location of the referenced document.
>>
>> However, instead of the location to the referenced document, the to
>> string version of the referenced EMF entity is persisted.
>>
>> Please suggest what is going wrong in my case.
>
> You may have better luck in an EMF newsgroup.
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02614 seconds