Relationships

Currently, only two Business Object Model relationships are supported for XML schema export, namely Generalizations and Compositions.

Generalization

A Class may generalize another Class:

Transforms to:

  <xsd:complexType id="_sJ1ZEBpREeChWL2te4gBZg" name="Customer">
    <xsd:complexContent>
      <xsd:extension base="tns1:Person"/>
    </xsd:complexContent>
  </xsd:complexType>
  <xsd:complexType id="_so-MIBpREeChWL2te4gBZg" name="Person"/>

A Primitive Type may generalize another Primitive Type.

Transforms to:

  <xsd:simpleType id="_Gf-mYBpSEeChWL2te4gBZg" name="BaseType">
    <xsd:restriction base="xsd:string">
      <xsd:maxLength value="50"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType id="_GpqG0BpSEeChWL2te4gBZg" name="ExtendedType">
    <xsd:restriction base="tns1:BaseType">
      <xsd:maxLength value="50"/>
    </xsd:restriction>
  </xsd:simpleType>

Composition

The following composition construct:

Transforms to:

  <xsd:complexType id="_7-Eb8BpTEeChWL2te4gBZg" name="Customer">
    <xsd:sequence>
      <xsd:element id="_DkCHxBpUEeChWL2te4gBZg" maxOccurs="1" minOccurs="1" name="address"
          type="Address"/>
    </xsd:sequence>
  </xsd:complexType>
  <xsd:complexType id="_8PfjIBpTEeChWL2te4gBZg" name="Address"/>