Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Global Element
The Element icon from the XML Schema Toolbox creates an XSDtopLevelElement stereotyped Class, which acts as a XSD global element, when dropped directly on a diagram.
XSD Properties: Project Browser: double-click on the XSDtopLevelElement stereotyped Class
Diagram: double-click on the XSDtopLevelElement stereotyped Class
Reference
Field/Button |
Usage |
See also |
||||||
Name |
Specify the name for this global element.
|
|
||||||
Type |
Specify either an XSD built-in dataType or complexType or simpleType.
|
|
||||||
Value |
If Type is an XSD built-in type then optionally specify its value:
|
|
||||||
Nested complexType |
Check this option to create an XSDcomplexType as a child of this global element.
|
|||||||
Nested simpleType |
Check this option to create an XSDsimpleType as a child of this global element.
|
|||||||
Annotation |
Specify the notes for this element ( Optional ).
|
|
||||||
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 global element.
|
Notes
• | The fields Nested complexType and Nested simpleType are available in the dialog only when creating a new global element (and not when editing the global element) |
• | The fields Type, Nested complexType and Nested simpleType are mutually exclusive - selecting one disables the others |
• | Global elements cannot contain any UML Attributes |
• | Global elements cannot be the source of Association connector |
• | Global elements cannot be the target of a Generalization connector |
• | Global elements can be the target of Association connector from Complex Type or Group Class |
• | Global elements can have at most one Generalization connector to a Complex Type or Simple Type Class |