Uses of Class
edu.ntnu.idatt1002.k1g4.Team
Packages that use Team
Package
Description
-
Uses of Team in edu.ntnu.idatt1002.k1g4
Methods in edu.ntnu.idatt1002.k1g4 that return TeamModifier and TypeMethodDescriptionMatch.getTeamOne()Get team one.Match.getTeamTwo()Get team two.Methods in edu.ntnu.idatt1002.k1g4 that return types with arguments of type TeamModifier and TypeMethodDescriptionDivision.getCompetingTeams()Creates and return a deep copy of competing teams list.Methods in edu.ntnu.idatt1002.k1g4 with parameters of type TeamModifier and TypeMethodDescriptionbooleanAdd a team to the list of competing teams.booleanCup.addTeamInDivision(Division division, Team team) Finds the correct division and adds a team to the division.intGet score of a teamvoidMatch.incrementScore(Team teamToIncreaseScore) Increments score for a team.booleanDivision.removeTeam(Team team) Remove a team.booleanCup.removeTeamInDivision(Division division, Team team) Finds the correct division and removes a team from the division.voidMatch.setTeamOne(Team teamOne) Sets team one.voidMatch.setTeamTwo(Team teamTwo) Sets team two.Method parameters in edu.ntnu.idatt1002.k1g4 with type arguments of type TeamModifier and TypeMethodDescriptionvoidDivision.setCompetingTeams(HashMap<Integer, Team> competingTeams) Sets competing teams in a division.Constructors in edu.ntnu.idatt1002.k1g4 with parameters of type TeamModifierConstructorDescriptionInstantiates a new Match.Match(Team teamOne, Team teamTwo, LocalDateTime startTime, long duration, String field) Instantiates a new Match.Match(Team teamOne, Team teamTwo, LocalDateTime startTime, long duration, String field, boolean isWalkover) First constructor for match.Instantiates a new Team.Constructor parameters in edu.ntnu.idatt1002.k1g4 with type arguments of type Team -
Uses of Team in edu.ntnu.idatt1002.k1g4.client
Methods in edu.ntnu.idatt1002.k1g4.client that return TeamMethods in edu.ntnu.idatt1002.k1g4.client with parameters of type TeamModifier and TypeMethodDescriptionstatic voidModel.setCurrentTeam(Team newCurrentTeam) sets the current teamMethod parameters in edu.ntnu.idatt1002.k1g4.client with type arguments of type TeamModifier and TypeMethodDescriptionstatic booleanModel.createMatch(javafx.scene.control.ComboBox<Team> teamOneComBox, javafx.scene.control.ComboBox<Team> teamTwoComBox, javafx.scene.control.TextField startTimeField, javafx.scene.control.DatePicker startDateField, javafx.scene.control.TextField fieldField, javafx.scene.control.Spinner<Integer> durationField, javafx.scene.control.RadioButton isKnockout) Creates a new match with the given fields. -
Uses of Team in edu.ntnu.idatt1002.k1g4.dao
Methods in edu.ntnu.idatt1002.k1g4.dao that return TeamModifier and TypeMethodDescriptionTeamDAO.getTeamById(int teamId, int divisionId) Gets the team by id.TeamDAO.getTeamByName(String name) Gets a team by the name of the team.Methods in edu.ntnu.idatt1002.k1g4.dao that return types with arguments of type TeamModifier and TypeMethodDescriptionTeamDAO.getTeams()Gets all teams.TeamDAO.getTeamsByDivision(int divisionId) Gets teams in a division.Methods in edu.ntnu.idatt1002.k1g4.dao with parameters of type TeamModifier and TypeMethodDescriptionvoidAdds a team.voidTeamDAO.updateCompeting(Team team, int divisionId) Method to update if a team is competing.