01.01.2015 Views

UML Weekend Crash Course™ - To Parent Directory

UML Weekend Crash Course™ - To Parent Directory

UML Weekend Crash Course™ - To Parent Directory

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Session 3—How to Approach the <strong>UML</strong> 25<br />

System<br />

Use Case Diagram<br />

Name<br />

Assumptions<br />

Pre-conditions<br />

Dialog<br />

Post-conditions<br />

Exceptions<br />

Future Enhancements<br />

Open Issues<br />

Use Case Narrative<br />

Activity Diagram<br />

Figure 3-2 Elements of the Functional View<br />

This Use Case description can be written, but I often draw the logic with an Activity diagram,<br />

a diagram that models logic very much like a flowchart. The Activity diagram is also<br />

useful for modeling a workflow or a business process. It can be very useful when working<br />

with clients to determine how things are or should be done. You can also use the Activity<br />

diagram to assess the complexity of the application, and to verify the internal consistency<br />

of your Use Case definitions. Later in the design, you need to specify the implementation<br />

details for methods. When the details become complicated, being able to draw them out<br />

using the Activity diagram makes the logic much easier to understand.<br />

The Use Case diagram describes the features that the users expect the system to<br />

provide.<br />

The Activity diagram describes processes including sequential tasks, conditional<br />

logic, and concurrency. This diagram is like a flowchart, but it has been enhanced<br />

for use with object modeling.<br />

Static View<br />

The Static View includes those diagrams that provide a snapshot of the elements of the<br />

system but don’t tell you how the elements will behave. It is very much like a blueprint.<br />

Blueprints are comprehensive, but they only show what remains stationary, hence the term<br />

Static View. Figure 3-3 illustrates the two diagrams that make up the Static View, the Class<br />

diagram and the Object diagram. The Class diagram is the primary tool of the Static View. It<br />

provides a fixed look at every resource (class) and its features. It is the one diagram nearly<br />

always used for code generation and reverse engineering.

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

Saved successfully!

Ooh no, something went wrong!