Exercises
Solutions to these exercises are supplied in Section B.3.2
Describe Figure 10-7: identify classes and associations, including their attributes and operations.

Figure 10-7. Projects, teams, plans, people, and skills
With respect to Figure 10-7, describe the following rules:
Within the context of a skill:
self.Priority = "High" or self.Priority = "Medium" or self.Priority = "Low"
Within the context of a project:
self.Budget >= 100000 and Budget <= 500000
Within the context of a role:
self.team.Name <> ''
Within the context of a role:
self.member.ID > 0 and self.person.ID < 9999
Within the context of a team:
self.member->forAll (p : Person | p.ID > 0 and p.ID < 9999)
Within the context of a team:
self.person->forAll (p : Person | p.ID > 0 and p.ID < 9999)
Within the context of a team:
self.plan.humanResource->forAll (p : Person | p.ID > 0 and p.ID < 9999)
Describe how to capture the following rules using Figure 10-7.
Within the context of a role, a title must be one of the following:
Analyst,Architect,Designer,Developer,Tester, orManager.Within the context of experience, a person must have at least five years of experience.
Within the context of a project, its start and end dates must match its plan’s start and end dates.
Within the context of a plan, its start and end dates must match its project’s start and end dates.
Within the context of a person, a person and a team that relate to one ...
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