O'Reilly logo

Learning UML by Sinan Si Alhir

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Exercises

Solutions to these exercises are supplied in Section B.1.1

  1. Describe Figure 3-44: identify the class and describe its attributes and operations.

    Report class

    Figure 3-44. Report class

  2. Describe Figure 3-45: identify the object and describe its attribute values.

    Report object

    Figure 3-45. Report object

  3. Describe Figure 3-46: identify the classes and their associations.

    Workers, skills, projects, and activities

    Figure 3-46. Workers, skills, projects, and activities

    Update the diagram stepwise to show the following details. After each step, check your answers against the solutions shown in Appendix B:

    1. When a worker has a skill, the years of experience is maintained for the relationship.

    2. A worker may have another worker as a manager, and a worker who is a manager must manage five or more workers. Given a manager, you can determine whom she manages, but given a worker, you are unable to determine who his manager is.

    3. An activity may have no more than one previous activity and any number of next activities. Using these rolenames, we can show how activities are ordered. Given an activity, you can only determine its next activities (if it has any) but not its previous activity (it if has one). This is similar to how a team may be made of subteams in that you have ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required