Top Level Enumeration Elements

The following XML schema construct:

<element name="topElement" type="SubAccountType"></element>
<simpleType name="SubAccountType">
 <restriction base="string">
 <enumeration value="Cash"></enumeration>
 <enumeration value="Margin"></enumeration>
 <enumeration value="Income"></enumeration>
 <enumeration value="Short"></enumeration>
 <enumeration value="DVP/RVP"></enumeration>
 <enumeration value="Dividend"></enumeration>
 </restriction>
</simpleType>

Maps to a Business Object Model Class representing the SubAccountType ComplexType:

The appropriate stereotype information represents the global element "topElement".