An Approach to Class Diagram Design
Chebanyuk Elena
Software Engineering Department, National Aviation University, Ave Komarova 1, Kyiv, Ukraine
Keywords: Model-Driven Architecture (MDA), Transformation Rules, Behavioural Software Model, Collaboration
Diagram, Set Theory Tool.
Abstract: An approach to class diagram design is suggested in this paper. The approach is based on the analysis of
behavioral software models represented by collaboration diagrams. An analytical form of collaboration
diagrams representation is suggested. Rules that define relations between class diagram constituents by
analyzing the analytical representation of collaboration diagrams are presented. An approach to defining the
relations between class diagram constituents that is based on these rules is suggested. An example of class
diagram design by analyzing collaboration diagrams according to the suggested approach is presented.
1 INTRODUCTION
Using models in software development processes
increases productivity of various development
activities, such as domain analysis, automated code
generation, designing domain specific languages,
representation of a software system with necessary
details, testing, requirement analysis, software
documentation, code reuse and other tasks. It is a
background for development of special technics and
approaches for software models transformation.
Often software models are represented as UML
diagrams. Most of the models that are used in
software development process can be divided into
static and dynamic (behavioral).
Classification of software models according to
principle of division them into static and dynamic
was proposed in paper (Gupta, 2012).
Today Agile methodology is widely used to
create software projects (Gandomani, 2013). Main
feature of Agile is possibility to change software
requirements, algorithms and other artifacts after
every development iteration. It result to changing of
behavioral software models.
That is why the task to design languages,
technics, rules and other tools for transformation of
behavioral (dynamic) software models into static
ones is vital problem of Model-Driven Architecture
(MDA).
The paper is organized by the following way.
Section 2 represents the rewiev of papers that solve
tasks that are devoded to transformation of models
in MDA area. The tasks of recearch is formulated in
Section 3. An analytical representation of
collaboration diagrams is described in Section 4.
Section 5 represents rules of defining relations
between class diagram constituents, that are based
on analytical representation of collaboration
diagrams. Section 6 represents stages of realization
of the proposed approach. Section 7 contains an
exmple of class diagram designing. Section 8
describes an application of the proposed approach in
software development process. Section 9 containes
conclusions.
2 RELATED PAPERS
Actuality of the task to design transformation
approaches and technics is a background of
appearing series of papers that are devoted to
different aspects of MDA, namely creating of
analytical tools, generating new artefacts from
behavioural software models (Gupta, 2012),
estimation of code reuse effectiveness, tools for an
analytical description of software static models
(Chebanyuk, 2013) and other aspects that are based
on software models represented in a form of UML
diagrams (Acretoaie, 2013), (Whittle, 2009).
Paper (Gupta, 2012) represents an approach of
generating test cases based on use case models that
are refined by state diagrams. But an operation
(Gupta, 2012) of representation UML activity
diagram as state table and writing it into in to some
448
Elena C..
An Approach to Class Diagram Design.
DOI: 10.5220/0004763504480453
In Proceedings of the 2nd International Conference on Model-Driven Engineering and Software Development (MODELSWARD-2014), pages 448-453
ISBN: 978-989-758-007-9
Copyright
c
2014 SCITEPRESS (Science and Technology Publications, Lda.)