public TournamentTypeView(TournamentType tournamentType) { this.name = tournamentType.getName(); this.minPlayers = tournamentType.getMinPlayers(); this.maxPlayers = tournamentType.getMaxPlayers(); this.numBoosters = tournamentType.getNumBoosters(); this.draft = tournamentType.isDraft(); this.limited = tournamentType.isLimited(); this.cubeBooster = tournamentType.isCubeBooster(); this.elimination = tournamentType.isElimination(); this.random = tournamentType.isRandom(); this.richMan = tournamentType.isRichMan(); }