My goal is design a elegant classes and relations structure which describes a decathlon competition.
In the competition compete athletes. The competition consist from some rounds.
Competition should have the method to set the list of a ascending order by a sum of competition rounds scores.
I imagine something like that:
But I am confused on the lower part of the UML diagram (Round and AthleticRound classes). For me is not looking very good :). Because i must have on mind to set Competition from cvs file which looks like that:
Siim Susi;12.61;5.00;9.22;1.50;60.39;16.43;21.60;2.60;35.81;5.25.72
Beata Kana;13.04;4.53;7.79;1.55;64.72;18.74;24.20;2.40;28.20;6.50.76
Jaana Lind;13.75;4.84;10.12;1.50;68.44;19.18;30.85;2.80;33.88;6.22.75
Anti Loop;13.43;4.35;8.64;1.50;66.06;19.05;24.89;2.20;33.48;6.51.01
And than competition class will be exported to xml.
My goal is get some recommendations or insights what should be classes structure to reach my goals to implement importer and exporter in Java.
Aucun commentaire:
Enregistrer un commentaire