13.StructureofUseCases

13.StructureofUseCases - Use Case Diagrams Use Case...

Info icon This preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon
1 Use Case Diagrams Use Case Descriptions Use Case Book (Chapter 2) and Visual Modeling Book
Image of page 1

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

View Full Document Right Arrow Icon
2 Use Case Diagrams… Withdraw Money Transfer Money Simply actors and use cases Can, of course, be much more detailed . Often the relationships are ‘tagged.’
Image of page 2
3 Extending the UML with Stereotyping Know we have ‘Change’ in everything. But very few graphics in UML. Need to communicate special cases: special classes special kinds of use cases… Extend UML for new ‘types’ New types of model elements? We often need customization of models for some projects. Extend UML? No! Ability to stereotype is built in.
Image of page 3

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

View Full Document Right Arrow Icon
4 Extending the UML with Stereotyping Enter: Stereotyping. Allow us to ‘refine’ / ‘reclassify’ ‘re-specify’ all model elements into a more specialized form rather than create additional symbols! We might specify a Use Case as a <<mission critical>> or class name with the stereotype: <<boundary>> or <<control>> etc. Indicate that the symbol is still a Use Case – but a ‘special one’ perhaps in a ‘special context.’ Most common UML stereotyped element is the class. Stereotyping makes these different model elements!!! (Incidentally, additional icons can be added, if wanted…)
Image of page 4
5 Examples Choices <boundary> (attributes) (methods) Authenticate User <included> A ‘special’ kind of class with special behaviors – a boundary class. A ‘special’ kind of Association – indicates a use case that supports a more fundamental use case – one that is more significant.
Image of page 5

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

View Full Document Right Arrow Icon
6 Stereotypes in Modeling: Built-ins and User-Defined Stereotypes can be used to ‘increase relevance ’ of model elements, such as use cases in requirements gathering. (Much controversy on ‘extend use cases’ and ‘include use cases’ Much more later: stereotypes: <<includes>> and <<extends>> Use Cases are quite commonly stereotyped A <mission critical> use case ‘may’ be specified in a separate document addressing all stereotypes “Stereotyped element” implies that there are ‘special’ criteria. e.g. A use case that is “mission critical” => must be processed within five seconds. Classes may also very often stereotyped: <boundary>, <control>, <entity> (as found in Analysis Modeling) A boundary class is a special kind of class that interacts directly with an actor… Any UML modeling element may be stereotyped….
Image of page 6
7 Use Case Template (Be aware there are many many formats. Format is not critical. Content is.) One of many different kind of formats… Will discuss others in next lecture.
Image of page 7

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

View Full Document Right Arrow Icon
8 Use Cases Use Cases – a great tool that helps us to express interactions between system (application) and actors. We can see the behaviors of the system.
Image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern