Unified Modeling Language Reference Manual, The, Second Edition
by James Rumbaugh, Ivar Jacobson, Grady Booch
primitive function
The declaration of a mathematical function that accepts a (possibly empty) list of input values and produces a (nonempty) list of output values without side effects or access to any objects.
Semantics
UML2 does not have a predefined set of primitive functions, such as arithmetic functions. This surprises many people, but no two programming languages have exactly the same set of primitive functions, and there have been many bitter fights about which are the “correct” set of primitive functions. For example, few languages implement (even within the limits of memory) integer arithmetic; almost all implement modulo-arithmetic with various bases. UML2 assumes that a particular environment will have a predefined set of primitive ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access