arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.00267cs.SE
收藏

面向对象建模中的类(UML):进一步理解和抽象

Classes in Object-Oriented Modeling (UML): Further Understanding and Abstraction

Sabah Al-Fedaghi

摘要:

面向对象已经成为概念建模的主要范例(例如,UML),其中类和对象的概念形成了思想的原始构建块。类充当具有属性和方法(操作)的对象的模板。建模的系统甚至不一定是软件系统:它们可以是许多不同类型的人类和人工系统(例如,教学和学习系统)。UML类图被描述为模型驱动软件开发的核心组件。它是面向对象模型中最常见的图,用于对系统的静态设计视图进行建模。对象既携带数据又执行操作。根据一些建模权威的说法,在理解UML类图中这些概念的语义时存在一定程度的困难。一些研究人员声称类图在概念分析中的用途有限,它们最好用于逻辑设计。执行概念分析不应该关注事实被分组为结构的方式。一个事实是否会在设计中作为一个属性结束并不是一个概念性的问题。UML导致深入到物理设计细节(例如,私有/公共属性、封装的操作以及关联的导航方向)。本文是一个冒险,以进一步了解面向对象的概念,以UML为例,目的是发展一个广泛的理解概念建模的基础。Thinging Machine(TM)建模是一种新的建模语言,在这样的事业。TM建模将结构(组件)和动作交织在一起,其中动作渗透到属性中的程度与类一样多。虽然空间限制影响类图的某些方面,本研究的结论性评估显示,类描述是一种更丰富的语义TM结构的简写。

英文摘要:

Object orientation has become the predominant paradigm for conceptual modeling (e.g., UML), where the notions of class and object form the primitive building blocks of thought. Classes act as templates for objects that have attributes and methods (actions). The modeled systems are not even necessarily software systems: They can be human and artificial systems of many different kinds (e.g., teaching and learning systems). The UML class diagram is described as a central component of model-driven software development. It is the most common diagram in object-oriented models and used to model the static design view of a system. Objects both carry data and execute actions. According to some authorities in modeling, a certain degree of difficulty exists in understanding the semantics of these notions in UML class diagrams. Some researchers claim class diagrams have limited use for conceptual analysis and that they are best used for logical design. Performing conceptual analysis should not concern the ways facts are grouped into structures. Whether a fact will end up in the design as an attribute is not a conceptual issue. UML leads to drilling down into physical design details (e.g., private/public attributes, encapsulated operations, and navigating direction of an association). This paper is a venture to further the understanding of object-orientated concepts as exemplified in UML with the aim of developing a broad comprehension of conceptual modeling fundamentals. Thinging machine (TM) modeling is a new modeling language employed in such an undertaking. TM modeling interlaces structure (components) and actionality where actions infiltrate the attributes as much as the classes. Although space limitations affect some aspects of the class diagram, the concluding assessment of this study reveals the class description is a kind of shorthand for a richer sematic TM construct.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑