Study Cards on diagram, arrow, classes

How many diagrams does UML has?
14 different kind of diagrams
Report
The 14 kinds of diagrams, are divided into two conventient and conceptual groups.

Which one?
Structure and Behavior
Report
What are the boxes in the diagram?
Each of the boxes in the tree-like Fig. 4.8 represents a diagram type in UML.

Each box represents a class, that is, a type, a type of diagram.
Report
A hollow arrow points up from specific diagram types to a more general diagram type. This arrow is called a ....?


When you follow the arrow going up and ........ when you look toward the tail going down.

Which two words are we looking for?
A hollow arrow points up from specific diagram types to a more general diagram type. This arrow is called a GENERALIZATION

When you follow the arrow going up and SPECIALIZATION when you look toward the tail going down.





Following a tree metaphor, the generalization arrow points to more central branches, and the box labeled diagram is the trunk of the tree.

When you go down to the tail of the arrow, you are going down to smaller branches and pointing to the leaves at the lowest level.
Report
How can we read this diagram when you travel up the tree?
When you travel up the tree, you can think of this best by reading it something like “A Class Diagram is a kind of Structure Diagram, which is a kind of Diagram.”


Similarly, “A Sequence Diagram is a kind of Interaction Diagram, which is a kind of Behavior Diagram, which is a kind of Diagram.”


Some people reading this prefer to use the words “sort of” or “type of” to “kind of.”
Report
When you travel down the tree toward the leaves, you find that ...?
When you travel down the tree toward the leaves, you find that there are multiple kinds of some of the diagrams.

Fig. 4.8 shows that there are seven kinds of structure diagram. (Make sure you can see how this works.)
Report
What are the Concrete classes in this diagram?
The boxes with their names in normal (roman) font are CONCRETE classes. Going left-to-right in Fig. 4.8, they are :

  • Profile
  • Class
  • Composite Structure
  • Component
  • Deployment
  • Object
  • Package
  • Activity
  • Use Case
  • State Machines
  • Sequence Communication
  • Interaction Overview
  • and Timing Diagrams.


A concrete class is a class that may have individual instances—In this case; they may have diagrams of their specified type
Report
What is a Concrete Class?
A concrete class is a class that may have individual instances—In this case; they may have diagrams of their specified type.

A concrete class is a set that may contain individual elements.

There are 14 concrete classes in the figure matching the 14 diagram types in UML 2.5.
Report
What are the abstract classes in this diagram?
The boxes with their names in italic font are ABSTRACT classes.

These are branches that only split off into other branches, while not having any leaves themselves; that is, they are classes that can only contain other classes
    
  • Diagram
  • Structure Diagram
  • Behavior Diagram
  • Interaction Diagram
Report
What is the symbol for a comment?
The symbol for a comment, sometimes called a note-symbol, is a rectangle with a bent upper-right corner.
Report
How can we connect to the comment?
The comment may be connected to the elements being annotated with a dashed line (not an arrow).


In previous versions of UML instead of an arrowhead, there was a small circle.

Now in UML 2.5, there is neither an arrowhead nor a circle (Fig. 4.13).
Report
  • A unique study and practice tool
  • Never study anything twice again
  • Get the grades you hope for
  • 100% sure, 100% understanding
Remember faster, study better. Scientifically proven.
Trustpilot Logo
  • Higher grades + faster learning
  • Never study anything twice
  • 100% sure, 100% understanding
Discover Study Smart