Towards Understanding of Classes versus Data Types in Conceptual Modeling and UML

Dragan Milićev1

  1. University of Belgrade, Faculty of Electrical Engineering, Department of Computing
    P.O. Box 35-54, 11120 Belgrade, Serbia


Traditional conceptual modeling and UML take different vague, ambiguous, and apparently incompatible approaches to making a distinction between two different entity types – classes and data types. In this paper, an in-depth theoretical study of these ambiguities and discrepancies is given and a new semantic interpretation is proposed for consolidation. The interpretation is founded on the premise that populations of the two kinds of entity types are defined in two substantially different ways: by intensional (for data types) and extensional (for classes) definitions. The notion of a generative relationship set is introduced to explain the role of specific relationship types that are used to define populations of structured data types by cross-combinations of populations of the related entity types. Finally, some important semantic consequences are described through the proposed interpretation: value-based vs. object-based semantics, associations vs. attributes, and identity vs. identification. The given interpretation is based on runtime semantics and allows for fully unambiguous discrimination of the related concepts, yet it fits into intuitive understanding and common practical usage of these concepts.

Key words

conceptual modeling, Unified Modeling Language (UML), formal semantics, class, data type, entity, relationship, object identity, identification, association, attribute

Digital Object Identifier (DOI)

Publication information

Volume 9, Issue 2 (June 2012)
Year of Publication: 2012
ISSN: 2406-1018 (Online)
Publisher: ComSIS Consortium

Full text

DownloadAvailable in PDF
Portable Document Format

How to cite

Milićev, D.: Towards Understanding of Classes versus Data Types in Conceptual Modeling and UML. Computer Science and Information Systems, Vol. 9, No. 2, 506-538. (2012),