Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Transforming UML associations to Ecore
Transforming UML associations to Ecore [message #625782] Wed, 26 December 2007 17:55
Dave Carlson is currently offline Dave CarlsonFriend
Messages: 402
Registered: July 2009
Senior Member
It seems that the UML to Ecore transformation needs to be enhanced to
consider Associations where both ends are owned by the Association. In the
OMG's SBVR cmof metamodel, there is NO use of composition, and all
associations own both property ends. Neither property is composition, nor

I would expect that these associations must be transformed into Ecore
classes. I don't know what tools were used by the SBVR spec authors to
create their XSD for serialized XMI models (apparently not EMF...), but the
cmof associations appear in XSD as shown below, which implies that EMF would
need an EClass for each Association that owns both of its ends.

<xs:element name="placeholderUsesDesignation"
<xs:complexType name="placeholderUsesDesignation">
<xs:element name="placeholder" form="unqualified" minOccurs="0">
<xs:attributeGroup ref="xmi:LinkAttribs"/>
<xs:element name="designation" form="unqualified" minOccurs="0">
<xs:attributeGroup ref="xmi:LinkAttribs"/>
<xs:element ref="xmi:Extension" minOccurs="0"/>
<xs:attribute name="placeholder" type="xs:IDREF" use="optional"/>
<xs:attribute name="designation" type="xs:IDREF" use="optional"/>
Previous Topic:CMOF primitive type references
Next Topic:Creating Deployment Diagram programmatically
Goto Forum:

Current Time: Tue Aug 09 13:10:27 GMT 2022

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

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

Back to the top