## Uses of Class
model.Tournament

Packages that use Tournament
model
view

Uses of Tournament in model

Methods in model that return Tournament
`static Tournament` `TournamentManager.addTournament(Tournament new_tournament)` Creates a new tournament data file and adds tournament header information to the tournament list file (tournaments.xml) (tournament id number and filename are generated automatically)
`static Tournament` `TournamentManager.getClosedTournament(ID tournament_id)` Returns a closed tournament with the given tournament id number.
`static Tournament[]` `TournamentManager.getClosedTournaments()`
`static Tournament` `TournamentManager.getOpenTournament(ID tournament_id)` Returns an open tournament with the given tournament id number.
`static Tournament[]` `TournamentManager.getOpenTournaments()`
`static Tournament` `TournamentManager.getTournament(ID tournament_id)`

Methods in model with parameters of type Tournament
`static Tournament` `TournamentManager.addTournament(Tournament new_tournament)` Creates a new tournament data file and adds tournament header information to the tournament list file (tournaments.xml) (tournament id number and filename are generated automatically)

Uses of Tournament in view

Constructors in view with parameters of type Tournament
`AdminPage(Tournament[] opens, Tournament[] closeds)`
`AdminPage(Tournament[] opens, Tournament[] closeds)`
`EditTournamentPage(Tournament tournament)` Constructs the page.
`ImportPage(Tournament tournament)`
`RegistrationPage(boolean logged, Tournament tournament, boolean pre, Entry entry, boolean edit, Tournament.EntryComparator.SortBy sort_by, boolean printable)` Constructs the page.
`RegistrationPage(boolean logged, Tournament tournament, boolean pre, Tournament.EntryComparator.SortBy sort_by, boolean printable)` As above but by default an empty form for adding a new (pre-)entry.
`StatisticsPage(Tournament tournament)`