N-ary Relations of Association in Class Diagrams: Design Patterns

Abstract

Most of the technology of object-oriented development relies on the use of UML diagrams, in particular, class diagrams. CASE tools, used for automation of object-oriented development, often do not support n-ary associations in the class diagrams, and their implementation in the form of program code in contrast to binary rather time-consuming. The article will show how in some cases it is possible to move from the n-ary association between classes to binary and how can reduce the number of objects. The rules to transform models, that contain n-ary association, will be presented in the form of design patterns. Proposed three new design patterns can be used in the process of developing software systems. These patterns describe transformations of n-ary (often ternary) associations occur between classes in binary and the introduction of additional classes and binary association with the aim of optimizing the model.

Authors and Affiliations

Sergievskiy Maxim

Keywords

Related Articles

Constraints in the IoT: The World in 2020 and Beyond

The Internet of Things (IoT), often referred as the future Internet; is a collection of interconnected devices integrated into the world-wide network that covers almost everything and could be available anywhere. IoT is...

Learning Deep Transferability for Several Agricultural Classification Problems

This paper addresses several critical agricultural classification problems, e.g. grain discoloration and medicinal plants identification and classification, in Vietnam via combining the idea of knowledge transferability...

Distributed Energy Efficient Node Relocation Algorithm (DEENR)

Wireless Sensor Networks (WSNs) due to their inherent features are vulnerable to single or multiple sensor node failure. Node’s failure can result in partitioning of the networks resulting in loss of inter-node connectiv...

Risk Propagation Analysis and Visualization using Percolation Theory

This article presents a percolation-based approach for the analysis of risk propagation, using malware spreading as a showcase example. Conventional risk management is often driven by human (subjective) assessment of how...

Dimensions of Open Government Data Web Portals: A Case of Asian Countries

Citizen Factors of the open government data are being explored in this study in the selected Asian countries. As per the open data availability countries have been selected on global open data index and well-structured o...

Download PDF file
  • EP ID EP106824
  • DOI 10.14569/IJACSA.2016.070237
  • Views 72
  • Downloads 0

How To Cite

Sergievskiy Maxim (2016). N-ary Relations of Association in Class Diagrams: Design Patterns. International Journal of Advanced Computer Science & Applications, 7(2), 265-268. https://europub.co.uk/articles/-A-106824