|[ATL][newbie] Some problem in UML2 to UML2 transformation [message #74240]
||Mon, 04 February 2008 15:41
Originally posted by: zappasan.gmail.com|
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 | e.name = '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 = '';
cs: UML2!Class (cs.hasStereotype('service::wsdl'))
type <- UML2!DataType.allInstancesFrom('UML2')->any(e | e.name =
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?
Powered by FUDForum
. Page generated in 0.02225 seconds