Complex Type - Class with Attributes
Business Object Model attributes contained within a Class are transformed into XSD elements within a sequence contained within the ComplexType created to represent the Class.
For example:
Transforms to:
<xsd:complexType id="_oyUc8BpMEeChWL2te4gBZg" name="Class2">
<xsd:sequence>
<xsd:element id="_pSM24BpMEeChWL2te4gBZg" maxOccurs="1" minOccurs="0" name="attribute1">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="50"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element id="_ppTIQBpMEeChWL2te4gBZg" default="false" maxOccurs="1" minOccurs="0"
name="attribute2">
<xsd:simpleType>
<xsd:restriction base="xsd:boolean"/>
</xsd:simpleType>
</xsd:element>
<xsd:element id="_sVEK8BpMEeChWL2te4gBZg" maxOccurs="1" minOccurs="0" name="attribute3">
<xsd:simpleType>
<xsd:restriction base="xsd:int">
<xsd:totalDigits value="10"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
Copyright © 2022. TIBCO Software Inc. All Rights Reserved.
