Previous UML Classes Table of Contents UML Packages Next

7.3.43 PrimitiveType


Issue 8720 - clarify that a primitive type has no parts in the context of UML

   A primitive type defines a predefined data type, without any relevant substructure (i.e., it has no parts in the context of UML). A primitive datatype may have an algebra and operations defined outside of UML, for example, mathematically.



    DataType (from Kernel ) on page 60.


   The instances of primitive type used in UML itself include Boolean, Integer, UnlimitedNatural, and String.


   No additional attributes


   No additional associations


   No additional constraints


   The run-time instances of a primitive type are data values. The values are in many-to-one correspondence to mathematical elements defined outside of UML (for example, the various integers).

   Instances of primitive types do not have identity. If two instances have the same representation, then they are indistinguishable.


   A primitive type has the keyword «primitive» above or before the name of the primitive type.

   Instances of the predefined primitive types may be denoted with the same notation as provided for references to such instances (see the subtypes of ValueSpecification (from Kernel )).