[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.m2t] [Xpand] Calling Java from Xpand
|
My source model has GUIDs in it and as part of my transformation I need
convert these GUIDs into int IDs. These int ids need to be consistent
across conversions, i.e. GUID to ID needs to be the same across multiple
runs.
I figured I would create a service I can call:
RelationshipService.getIdForGuid(String guid);
However I can't figure out how to call this service from Xpand :(
One way I think could work would be change the source model and add the
RelationshipService service and operation to that model, however I don't
want to pollute the source model with transformation concerns.
So, I'm not too sure where to go next...
Any thoughts would be wonderful!