Meta Data Services Programming
Association Classes (Many-to-Many)
The following example shows how a many-to-many association class is represented in Extensible Markup Language (XML).
Example
<Class1 oim:id="_2">
<Class1OriginAssocEnd>
<AssocClass AttributeA="...">
<AssocClassDestAssocEnd>
<Class2 oim:id="_3"/>
</AssocClassDestAssocEnd>
</AssocClass />
</Class1OriginAssocEnd>
</Class1>
This example encodes the association element into a junction class between the other two classes and uses the association name generation rule to establish the two association names.