A
A
Alexey2017-06-15 21:15:06
1C
Alexey, 2017-06-15 21:15:06

How to show composite attribute type in UML class diagram?

Good evening! I'm asking for help in resolving the issue.
I am doing a diploma on the 1c enterprise platform, filed the configuration, now I am making a class diagram based on it.
And then the question arose, how to show on the class diagram that an attribute can have several data types ?
Those. if in the terminology of 1c to tell, then there is a directory, and in it the props by data type are links to 3 other directories.
Here.
When talking to the teacher, she said "use a generalization relationship and make 1 parent class from which 3 others will inherit, and then set this parent class as an attribute type, in the place where you need a composed type" (implementation picture below). If this option is correct, how then is it better to argue this implementation before the defense commission?
c86edbc9709b4734b22444c48983772e.PNG

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Programmer 1C, 2017-11-22
@Pentblch

From the point of view of the visibility of the database schema, it would be possible to stick 3 directories into the repository. But in reality, everything is more complicated in 1C - www.develplatform.ru/OneC/Stream/OneCBlog/2013/01/...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question