Click here to Skip to main content
15,892,480 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more: (untagged)
I am designing a class diagram for my Android app. I intent to use some 3rd libraries to my app.
Is there anyway to represent those libraries on my class diagram
Posted
Updated 11-Mar-15 5:04am
v2

1 solution

The notion of class and other element of static diagrams (classes, relationships and the like) has nothing to do with classification of components (3rd-party or not). It just makes no difference. On deployment diagrams, you can depict it somehow; it effects some development plans, and so on.

But to you understand that the way you draw all those lines is barely related to the development? It is not something scientifically fundamental. This is only a way to help you to organize yourself, perform analysis, validation, use as a documentation, reference for implementation, requirement document, and so on.

This is like using some common language, lingua franca, something everyone would understand, no more. It's a pretty usual mistake to consider UML and similar standards or attempts to formalize architecture, design and technical documentation as real science, a result of some mathematical speculations and proof. As a matter of fact, there is a lot of arbitrariness in all those constructs, merely reflecting the state of mind and real experience of many authors of the time when these standards/norms were emerging. It would be dangerous to canonize all this matter.

—SA
 
Share this answer
 
v8
Comments
TheRealSteveJudge 11-Mar-15 11:16am    
Good! 5*
Sergey Alexandrovich Kryukov 11-Mar-15 11:16am    
Thank you, Steve.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900