Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » Problems with model new elements ...
Problems with model new elements ... [message #57939] Wed, 15 August 2007 01:49
Eclipse UserFriend
Originally posted by: macf1983.gmail.com

Hi guys

I'm with a problem with how define a rule for this m2m transformation.
Here's the situation's core:

1) There's a model A with 2 classes: A1 and A2
2) There's a model B, that is almost the same of model A , except by one
more class B that have 2 attributes: an A1 object and an A2 object

How do I define a transformation rule from A to B that gives [having as
entrance a model's A instance] as result a model's B instance that keeps
the same instances of classes A1 and A2 contained in model's A instance,
but as attributes of a class B object created during the transformation ?
[By the way, is there a best way[rule] to create this object B during the
transformation ?]

I hope everyone have understood what I try to explain about this problem I
have.

Sorry if I've committed any grammatical error ...
Previous Topic:superimposition in UML2
Next Topic:[ATL]Problem with transformation of a model that contains XMI href attribute
Goto Forum:
  


Current Time: Fri Apr 26 14:33:09 GMT 2024

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

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

Back to the top