Uses of Class
edu.ntnu.idatt1002.k1g4.Match
Packages that use Match
Package
Description
-
Uses of Match in edu.ntnu.idatt1002.k1g4
Methods in edu.ntnu.idatt1002.k1g4 that return MatchModifier and TypeMethodDescriptionDivision.getEqualMatch(Match match) Helper method to get the match that is equal to the object that is provided This is to solve the problems with compositionMethods in edu.ntnu.idatt1002.k1g4 that return types with arguments of type MatchMethods in edu.ntnu.idatt1002.k1g4 with parameters of type MatchModifier and TypeMethodDescriptionbooleanAdd a match to the list of matches.booleanCup.addMatchInDivision(Division division, Match match) Finds the correct division and adds a match to the division.booleanMatch.fieldOccupied(Match match) Checks if field is occupied by a matchDivision.getEqualMatch(Match match) Helper method to get the match that is equal to the object that is provided This is to solve the problems with compositionbooleanDivision.removeMatch(Match match) Remove a match from the list of matches.booleanCup.removeMatchInDivision(Division division, Match match) Finds the correct division and adds a match to the division.booleanMatch.teamsOccupied(Match match) checks if team is occupied by matchMethod parameters in edu.ntnu.idatt1002.k1g4 with type arguments of type MatchModifier and TypeMethodDescriptionvoidDivision.setMatches(ArrayList<Match> matches) Sets matches in a division.Constructor parameters in edu.ntnu.idatt1002.k1g4 with type arguments of type Match -
Uses of Match in edu.ntnu.idatt1002.k1g4.client
Methods in edu.ntnu.idatt1002.k1g4.client that return MatchModifier and TypeMethodDescriptionstatic MatchModel.getCurrentMatch()Returns the match that is currently selectedMethods in edu.ntnu.idatt1002.k1g4.client with parameters of type MatchModifier and TypeMethodDescriptionstatic voidModel.setCurrentMatch(Match newMatch) Selects a new match as the current one -
Uses of Match in edu.ntnu.idatt1002.k1g4.dao
Methods in edu.ntnu.idatt1002.k1g4.dao that return MatchMethods in edu.ntnu.idatt1002.k1g4.dao that return types with arguments of type MatchModifier and TypeMethodDescriptionMatchDAO.getMatchesByCup(int cupId) Gets matches in a cup.MatchDAO.getMatchesByDivision(int divisionId) Gets matches in a division.Methods in edu.ntnu.idatt1002.k1g4.dao with parameters of type MatchModifier and TypeMethodDescriptionvoidMethod to add a match to the database.voidMatchDAO.updateMatch(Match match) Method to update match data.