Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL][newbie] Some problem in UML2 to UML2 transformation
[ATL][newbie] Some problem in UML2 to UML2 transformation [message #74240] Mon, 04 February 2008 15:41 Go to next message
Eclipse UserFriend
Originally posted by:

I want to execute a transformation that from a class stereotyped by
<<wsdl>> create one class for each wsdl element. For example if I have a
class named DatabaseManager stereotyped by <<wsdl>> I want in output all
the classes about wsdl language (definition, portType, ecc.). This not
properly a mapping but a creation of classes from zero. I have some
1. I have to Setup the type of some property and I've written this code:
type <- UML2!DataType.allInstancesFrom('UML2')->any(e | = 'String')

But it has no effect at the uml output file. When I go to obeserve the
"type" feature of the property I have a blank field.

2. How Can I setup an association between two classes?

This what I've written

helper def: c1: UML2!Property = '';

rule createPT{
cs: UML2!Class (cs.hasStereotype('service::wsdl'))
ct: UML2!Class,
p0: UML2!Property(
type <- UML2!DataType.allInstancesFrom('UML2')->any(e | =
a: UML2!Association
thisModule.counter <-thisModule.counter+1;
a.memberEnd<-Set{p0, thisModule.c1};

The helper caches a property defined in the creation of another class. I
can't think that this association set up works fine because in the
relatedElement feature I have blank.

Can you help-me please?

Thank you

Re: [ATL][newbie] Some problem in UML2 to UML2 transformation [message #79615 is a reply to message #74240] Sat, 19 April 2008 12:15 Go to previous message
Geam Carlos is currently offline Geam CarlosFriend
Messages: 17
Registered: July 2009
Junior Member
Emanuele Hello,

Would like of knows how you resolved this problem? I'm with the same
You could send the file atl transformation?
What UML2 metamodel you used?

Previous Topic:[ATL] Problem with ATL rules
Next Topic:Composing Transformations
Goto Forum:

Current Time: Sun Sep 27 18:22:46 GMT 2020

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

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

Back to the top