Lecture 9 UML Terminology and Additional Models and Midterm review

Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and Iterative Development (3rd Edition)

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

View Full Document Right Arrow Icon
1 Copyright W. Howden Lecture 11: UML Terminology and Additional Models and Notation
Image of page 1

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

View Full Document Right Arrow Icon
2 Copyright W. Howden UML Terminology 1 Classifier : actor, class, interface, component (physical piece of system), subsystem (package with spec implementation and identity), use case (static system: classifiers and their relationships) Class A set of objects with a state and a behavior, generalization of concept of a program class Implementation Class An actual software class
Image of page 2
3 Copyright W. Howden UML Terminology 2 Interface Description of behavior of object with giving implementation or state information, operations but no attributes Type Like an interface except can also have attributes and associations. Is a specification of a class. Has no methods but can have method specifications (operations). (E.g. Concept class in domain modeling) Data type primitive values that lack identity e.g. numbers, characters, etc
Image of page 3

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

View Full Document Right Arrow Icon
4 Copyright W. Howden UML Terminology 2 Operation Description of a function/method Method Implementation of an operation
Image of page 4
5 Copyright W. Howden UML Diagrams Use Case • Class Interaction Sequence • Collaboration • Package • Activity • Deployment • State
Image of page 5

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

View Full Document Right Arrow Icon
6 Copyright W. Howden UML Class Diagrams Generic, used for both Domain and Design Class Models Additional kinds of associations – Generalization – Aggregation
Image of page 6
7 Copyright W. Howden Generalization A general term in UML, also applicable to classifiers other than classes, such as actors, Use Cases, etc. Used to indicate that one kind of classifier is a generalization of another When applied to classes, similar to inheritance
Image of page 7

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

View Full Document Right Arrow Icon
8 Copyright W. Howden Generalization and Types Subtype A subset of the instances of some classifier, having special properties of their own. All members of a subtype set are members of the supertype set Supertype More abstract classifier having common properties of subtypes. A supertype set contains all elements in subtype sets.
Image of page 8
9 Copyright W. Howden Rules for Creating SubTypes Correctness guidelines – When is a generalization correct?
Image of page 9

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

View Full Document Right Arrow Icon
Image of page 10
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