Simple Type

The Simple Type icon from the XML Schema Toolbox creates an XSDsimpleType class when dropped on a diagram.

XSD Properties:

Double-click on the XSDsimpleType stereotyped Class in the diagram or the Project Browser

Reference:

Field/Button

Usage

See Also

Name

Specify the name for this simpleType

 

Type

Specify either an XSD built-in dataType or simpleType

Field

Usage

Restriction

Restricts the value of this simpleType to the selected Type.

The various restrictions ( facets ) on the simpleType are available as tagged-values on this Class.

List

Specifies this simpleType as a list of values of the selected Type

 

Annotation

Specify the notes for this simpleType ( 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  simpleType

Properties

Notes:

  • Simple Types cannot contain any XSDelement or XSDattribute stereotyped UML Attributes
  • Simple Types cannot contain any child classes
  • Simple Types cannot be the source of an Association connector
  • Simple Types can be the target of a Generalization connector
  • Simple Types can have at most one Generalization connector to another Simple Type Class