21.08.2013 Views

Software Engineering for Students A Programming Approach

Software Engineering for Students A Programming Approach

Software Engineering for Students A Programming Approach

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

APPENDIX<br />

C<br />

The Unified Modeling Language (UML) is a graphical notation <strong>for</strong> describing objectoriented<br />

software. It is not a method <strong>for</strong> design, but a notation that can help with<br />

designing software or help to document software once it is complete.<br />

This appendix gives a summary of those aspects of UML used in this book. UML is<br />

a large and potentially complex notation and there<strong>for</strong>e we have only used a part of the<br />

notation. Thus the diagrams described and used in this book are:<br />

■ use case diagrams<br />

■ class diagrams<br />

■ package diagrams<br />

■ activity diagrams.<br />

C.1 ● Use case diagrams<br />

UML summary<br />

These diagrams describe, in outline, the use cases associated with a system. Figure C.1<br />

shows an example of a use case diagram <strong>for</strong> users of a bank ATM. In this example there<br />

is a single type of user, a bank customer. A customer can ask the system to carry out<br />

either of two functions – withdraw cash and check balance.<br />

Figure C.1 A use case diagram<br />

Bank Customer<br />

withdraw cash<br />

check balance

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!