Propose a UML class diagram for the management of horse race events. Add the cardinalities, the attributes, and the methods that you believe relevant in the classes.
In this exercise, we are interested in the management of horse race events. A race could be local or international. It is held in a given location and organized by one or more organizers. An organizer could be of two types: event organizer or local organizer. For every race there will be exactly 3 trophies.
Several horses participate in a given race. A horse has a type. It is trained by one and only one trainer. It is also ridden by one and only one racer. For every race, there will be a result assigned to every horse. A racer may have received several trophies. For every trophy received, the date of awarding is stored.
Racers are organized into teams. A team may include several racers. One of these racers is appointed as leader. Every team of racers has a chief trainer. The chief trainer has the role of supervisor (i.e. supervises the other trainers of the racers).
Question: Propose a UML class diagram for the management of horse race events. Add the cardinalities, the attributes, and the methods that you believe relevant in the classes.
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 3 images