Association Classes (One-to-Many or One-to-One)

Meta Data Services Programming

Meta Data Services Programming

Association Classes (One-to-Many or One-to-One)

The following example shows how a one-to-many or one-to-one association class is represented in Extensible Markup Language (XML).

Example
<Class1 oim:id="_2" attribute1="..."
      <Class1OriginAssocEnd>
            <Class2 attributeA="..."
                        Attribute2=oim:id="_3"
               
      </Class1OriginAssocEnd>
</Class1>

This mapping represents all the attributes of the association class as attributes on the destination class.

See Also

XML Encoding Reference