04-UMLNotes (Use Cases) (1)

04-UMLNotes (Use Cases) (1) - ObjectOrientedModelingwithUML

Info iconThis preview shows pages 1–10. Sign up to view the full content.

View Full Document Right Arrow Icon
Object Oriented Modeling with UML
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Unified Modeling Language: History … 980’ l OO t hdl i 1980’s: several OO methodologies … Booch methodology Rumbaugh’s OMT bject model: Static structural “data” aspects of a system Object model: Static, structural, data aspects of a system » Class diagrams (similar to ER diagrams) Dynamic model: Behavioral, “control” aspects of a system » State diagrams (finite state machines) Functional model: Transformational, “function” aspects » Data flow diagrams Jacobson’s use cases to capture requirements 994: Booch and Rumbaugh joined forces 1994: Booch and Rumbaugh joined forces 1995: Jacobson joined Booch and Rumbaugh 1996: UML version 0.9 1997: Standardized by OMG UML: For visualizing, specifying, constructing, and documenting e artifacts of a system the artifacts of a system
Background image of page 2
Modeling with UML Model requirements with Use Cases Model static structure with Class Diagrams (Object and Class Structuring) odel system dynamics with Model system dynamics with Sequence Diagrams Collaboration Diagrams Model behavior of individual objects with Statechart (Diagram) odel execution of a set of operations with Model execution of a set of operations with Activity Diagrams
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Today’s Content Model requirements with Use Cases Model static structure with Class Diagrams (Object and Class Structuring) odel system dynamics with Model system dynamics with Sequence Diagrams Collaboration Diagrams Model behavior of individual objects with Statechart (Diagram) odel execution of a set of operations with Model execution of a set of operations with Activity Diagrams
Background image of page 4
odel equirements ith Model Requirements with Use Cases
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Use Case Modeling Use case A use case defines a sequence of interactions between Actors (user or external systems) and the Application Use case model escribes the nctional requirements terms of the Describes the functional requirements in terms of the Actors and Use cases
Background image of page 6
Use Case Diagram Request Elevator Elevator Select Destination Arrival ensor User levator Control System actors and use cases Sensor Elevator Control System actors and use cases
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Identifying Use Cases Start by considering the actors and the actions they initiate (each use case describes a sequence of interactions …) Avoid a fine grain functional decomposition A use case should provide a useful result to an actor When use cases get too complex, define dependencies include extend
Background image of page 8
Two ways to document In plain text the form of a quence diagram ter In the form of a sequence diagram later … Use case template Name Actors Precondition (Ex. The user is at a floor.) escription The main sequence of external interactions Description : The main sequence of external interactions. Alternatives
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 10
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/09/2011 for the course ECE 651 taught by Professor Sign during the Fall '11 term at Tsinghua University.

Page1 / 30

04-UMLNotes (Use Cases) (1) - ObjectOrientedModelingwithUML

This preview shows document pages 1 - 10. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online