Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [QVT] Traversing relationship links and finding connected elements
[QVT] Traversing relationship links and finding connected elements [message #669752] Wed, 11 May 2011 11:57
Mehrdad Saadatmand is currently offline Mehrdad SaadatmandFriend
Messages: 6
Registered: March 2011
Junior Member

In my source model for transformation, I have two UML class elements that are connected by a Realization relationship (stereotyped using a UML profile). On a class element(object) I want to:

I) find all of its relationships (incoming or outgoing from the current class element) and find the class element on the other end of each relationship

II) Identify the direction of the relationship to know which was the 'source' class and which was the 'target'

I'd be thankful if you guide me how to do this or refer me to some sample codes for traversing the model if you know any.


Previous Topic:[AM3] AM3 perspective in Eclipse Helios
Next Topic:[ATL Launch] ATL from JAVA whithout serialization
Goto Forum:

Current Time: Tue Mar 09 05:17:33 GMT 2021

Powered by FUDForum. Page generated in 0.02241 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top