Lecture 4 - Class Diagram Notation Flashcards
TF: Association names are kept in DCD (Design Class Diagrams)
False. Association name is usually removed
What is a qualified association?
A form of association where a small box attached to association. Box usually contains a key-like attribute.
(ex: ISBN number, studentID, itemID could be qualifiers)
Association classes help simplify what?
many-to-many multiplicity
How are dependencies represented in Class Diagram Notation?
Represented with a dashed arrow with a keyword (stereotype) next to it to indicate type of dependency (keyword format: «»)
[ex: «call» «create»]
How are generalizations represented in Class Diagram Notation?
solid line with a hollow arrow head
What are generalizations in Class Diagram Notation?
Represent child-parent relationships
How are realizations represented in Class Diagram Notation?
Dotted line with hollow arrow head
What are realizations in Class Diagram Notation?
Relationship between two elements, usually one class and one interface
What are the two ways to represent an interface?
- A box (similar to class box) with <> on top of name
- A small hollow circle with interface name next to it (lollipop notation)
What diagram indicates which object should be in a sequence diagram?
Domain diagram
Which diagram indicates the objects and their messages?
Sequence diagram
TF: You can easily create a static class diagram from a sequence diagram
True