Hello, I have a few questions about UML class diagrams, any help would be appreciated
1) How do you show pointers in attributes?
2) What is multiplicity?
3) In what direction should the composition arrows be?
4) How did you place the listings?
According to the current UML 2.4.1 standard and the following 2.5 (it differs almost only in simpler documentation):
, , . , "" 2.5 UML-. , .
.
composition
shared
none
- , @MagicMan . . Java (, ), , , ( ) .
:
, - . , , NO ().
++ A B , . UML, , .
1) (): ---->, , -, , : ---->*
---->
---->*
2) - , , (0..1), .. , , 0 1
(0..1)
3) : Container<>-----Child
Container<>-----Child
4) :
_______________________ | <<enumeration>> | | Colors | |_____________________| | Red | | Green | | Blue | | ... | |_____________________|
- UML:
Source: https://habr.com/ru/post/1015767/More articles:Symfony gets form data in the controller - symfonyDjango REST Framework does not use https for page links - djangomultiply each element by numpy.array a with each element in numpy.array b - pythonHow to use order with multiple isdescendantnode - jcrHow to detect a flip / home press from a service such as a chat service? - serviceAssigning the desired number, for example "numpy.take" - pythondjango rest framework https for absolute urls? - pythonDjangoRestFramework HTTPS Links with Routers and Views - djangonumpy multidimensional indexing and 'take' function - pythonBack clicked events with system warning window - androidAll Articles