Download presentation
Presentation is loading. Please wait.
Published byAlexis Lang Modified over 8 years ago
1
© 2010 Pearson Addison-Wesley. All rights reserved. Addison Wesley is an imprint of Appendix A: UML Java Software Structures: Designing and Using Data Structures Third Edition John Lewis & Joseph Chase
2
1-2 © 2010 Pearson Addison-Wesley. All rights reserved. 1-2 The Unified Modeling Language The Unified Modeling Language (UML) has become a standard notation for software design It is unified in the sense that it is the synthesis of three separate notations It is language independent It includes various types of diagrams which use specific icons and notations However, it is flexible – the details you include in a given diagram depend on what you are trying to capture and communicate
3
1-3 © 2010 Pearson Addison-Wesley. All rights reserved. 1-3 UML Class Diagrams UML class diagrams may include: –The classes used in the system –The static relationships among classes –The attributes and operations of each class –The constraints on the connections among objects An attribute is class level data, including variables and constants An operation is essentially equivalent to a method May include visibility details
4
1-4 © 2010 Pearson Addison-Wesley. All rights reserved. 1-4 LibraryItem class diagram
5
1-5 © 2010 Pearson Addison-Wesley. All rights reserved. 1-5 A UML class diagram showing inheritance relationships
6
1-6 © 2010 Pearson Addison-Wesley. All rights reserved. 1-6 A UML class diagram showing an association
7
1-7 © 2010 Pearson Addison-Wesley. All rights reserved. 1-7 One class shown as an aggregate of other classes
8
1-8 © 2010 Pearson Addison-Wesley. All rights reserved. 1-8 A UML diagram showing a class implementing an interface
9
1-9 © 2010 Pearson Addison-Wesley. All rights reserved. 1-9 One class indicating its use of another
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.