Prev Next

GML Toolbox Pages

When you begin to model GML concepts and relationships, you can represent them on a GML diagram using the elements and connectors provided in the GML Toolbox pages.

Access

On the Diagram Toolbox, click on to display the 'Find Toolbox Item' dialog and specify 'GML'.

Ribbon

Design > Diagram > Toolbox

Keyboard Shortcuts

Alt+5

GML Toolbox pages

GML Element Toolbox

Item

Description

FeatureType

An extended UML Class that maps to an XSD Global element, whose content model is a globally scoped XML Schema type derived by direct/indirect extension of gml:AbstractFeatureType.

Type

An extended UML Class that maps to an XSD element, whose content model is a globally scoped XML Schema type derived by direct/indirect extension of gml:AbstractGMLType.

DataType

An extended UML Class that maps to an XSD Global element, whose content model is a globally scoped XML Schema complexType.

CodeList

An extended UML Class, that maps to:

  • A union of an enumeration and a Pattern, or
  • an external Dictionary

Union

An extended UML Class that maps to an XSD Choice group, whose members are GML objects or features, or objects corresponding to DataTypes.

Enumeration

An extended UML Class that is a restriction of XSD string with enumeration values.

GML Package Toolbox

Item

Description

ApplicationSchema

The GML workspace Package, which holds all the GML modeling elements.

You can export the contents of this Package to produce the GML Application Schema.

Leaf

A stereotyped Package that can be created under an Application Schema. Leaf is a convenient Package for grouping elements within an Application Schema.

If the value of the tag xsdDocument on this Package is empty, the contents of this Package will be exported as a part of the parent Package whose tag xsdDocument is not empty.

GML Relationship Toolbox

Item

Description

Generalization

Identifies an element as a specialized descendant of another element, containing additional properties. This relationship is allowed between:

  • Feature Types
  • DataTypes and Unions
  • Types

An element can have a maximum of one Generalization connector.

Association

Identifies the connection between two elements. Only navigable Association Ends will be mapped to GML Application Schema.

Aggregation

An extended UML Association that shows that an element is composed of other elements.

Composition

An extended UML Association that is a stronger form of Aggregation, indicating ownership of the whole over its parts.

Association Class

Identifies the attributed connection between two elements. Only navigable Association Ends can be mapped to GML Application Schema.

Attribute

Property

An extended UML Attribute, whose type is either a property type (if the type is a complex type) or a simple type.

Association Role

Property

An extended UML Association Role, whose type is always a property type.

Notes

  • In GML, Association Class is specific to GML 3.3; when generating GML 3.2.1 Application Schema, the Association and Class of an Association Class are treated as separate entities
  • The values for tags on the «Application Schema» and «Leaf» stereotyped Packages can be entered using either:
         -  The Tagged Values window or
         -  The Generate GML Application Schema dialog

Learn more