July 2004
Intermediate to advanced
752 pages
35h 59m
English
A predefined basic data type, such as an integer, Boolean, or string.
See also enumeration.
Instances of primitive types do not have identity. If two instances have the same representation, then they are indistinguishable and can be passed by value with no loss of information.
Primitive types include numbers, strings, and possibly other system-dependent data types, for example, dates and money, whose semantics are predefined outside UML. Additional primitive types may be added by profiles. Primitive types will usually correspond closely to those found in the target programming language.
See also enumerations, which are user-definable data types that are not predefined primitive types.
Read now
Unlock full access