Exercises
Solutions to these exercises are supplied in Section B.3.1
Describe Figure 9-8: identify stereotype definitions, tag definitions, and constraints.

Figure 9-8. Stereotype definitions, tag definitions, and constraints
Describe Figure 9-9: identify stereotyped elements and tagged values.

Figure 9-9. Stereotyped elements on a class diagram
Describe Figure 9-10: identify stereotyped elements and tagged values.

Figure 9-10. Stereotyped elements and tagged values on an object diagram
Create a diagram to communicate the following details:
Define the concept of a person using a
Personstereotype, which may be applied to classes. ThePersonstereotype defines a tag namedID, which is a string representing a person’s identification number. TheIDtag may not be an empty string.Define the relationship between a person and organization using a
Member Ofstereotype, which may be applied to associations. TheMember Ofstereotype defines a tag namedJoining Date, which is a string representing the date on which a person joined an organization. TheJoining Datemay not be an empty string.
Update the diagram shown in Figure 9-9 stepwise to show the following details. After each step, check your answers ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access