Data type dialog box

 

Data types

A data type is a descriptor of a set of primitive values that lacks identity, and that allows you to define base types.  Data types include numbers, strings, and enumerated values.  They are passed by value and are immutable entities.

 

The "Data type" dialog box contains four tabs - "Properties", "Notes", "Tagged values" and "Stereotypes".  For information on these standard dialog box tabs, please see "Standard dialog box tabs".

 

 

The "Properties" tab of the "Data type" dialog box

The "Properties" tab of the "Data type" dialog box is used to define values for a data type.

 

The "Properties" tab of the "Data type" dialog box

 

Key:

·         "Name": This indicates the name of the data type.

·         "Abstract": This indicates whether the data type is abstract or not.

·         "Primitive": This indicates whether the data type is primitive or not (this property should always be true).

·         "Leaf": This indicates whether the data type is leaf (a generalizable data type with no children in the generalization hierarchy) or not.

·         "Root": This indicates if the data type is a root data type (with no ancestors) or not.

·         "Visibility": This indicates the visibility of the data type (public, protected, private or none).