Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Complex Type
The Complex Type icon from the XML Schema Toolbox creates an XSDcomplexType stereotyped Class when dropped on a diagram.
XSD Properties:
Double-click on the XSDcomplexType stereotyped Class in the diagram or the Project Browser
Reference
Field/Button |
Usage |
See also |
||||||||
Name |
Specify the name for this complexType.
|
|
||||||||
Model Group |
Specify how the child elements of this complexType should occur in the Schema.
|
|
||||||||
MinOccurs |
Specify the minimum number of times this element occurs in the Class ( Optional ).
|
|
||||||||
MaxOccurs |
Specify the maximum number of times this element occurs in the Class ( Optional ).
|
|
||||||||
Annotation |
Specify the notes for this element ( Optional ).
|
|
||||||||
Abstract |
Specify whether this complexType can be used in the instance XML file ( Optional ). Default: False.
|
|
||||||||
Mixed |
Specify whether character data can appear among the child elements ( Optional ). Default: False.
|
|
||||||||
OK |
Save the values entered and close the dialog.
|
|
||||||||
Cancel |
Discard the values entered and close the dialog.
|
|
||||||||
Help |
Display this Help topic.
|
|
||||||||
UML |
Open the UML Properties dialog. This button is available when editing the complexType.
|
Notes
• | Complex Types can contain both XSDelement and XSDattribute stereotyped UML Attributes |
• | Complex Types can contain other Complex Types as child elements |
• | Complex Types can be children of Global Elements |
• | Complex Types can have Association connectors to other Complex Type, Simple Type, Attribute Group, Group and Model Group |
• | Complex Types can have at most one Generalization connector to either another Complex Type or a Simple Type Class |