Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » problem with transformation QVTR.
problem with transformation QVTR. [message #107101] Wed, 24 June 2009 15:48
Ana is currently offline AnaFriend
Messages: 1
Registered: July 2009
Junior Member
Hello, I am new to QVT Relations, I am trying to transform one model to
another. In the initial model I have an entity that "UseCase" has a whole
other entity "Feature". Need to get all features for display, I tried with
the following transformation, but only shows me the last feature of the
whole:

top relation R {
cn,nameFeature:String;
checkonly domain cdu c:DiagramaCU::UseCase {
name=cn,
features=feat:DiagramaCU::Feature{name=nameFeature}
}{not c.features.oclIsUndefined()};

enforce domain req t:MMreq::TextualRequirement {
description=cn+' uses '+nameFeature
};
}
Previous Topic:[qvto] One-to-Many Mappings
Next Topic:[ATL] Recursive NavigationOrAttributeCallExp creation
Goto Forum:
  


Current Time: Wed Apr 24 22:08:59 GMT 2024

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

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

Back to the top