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 TypeMethodDescriptionboolean
Add a match to the list of matches.boolean
Cup.addMatchInDivision
(Division division, Match match) Finds the correct division and adds a match to the division.boolean
Match.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 compositionboolean
Division.removeMatch
(Match match) Remove a match from the list of matches.boolean
Cup.removeMatchInDivision
(Division division, Match match) Finds the correct division and adds a match to the division.boolean
Match.teamsOccupied
(Match match) checks if team is occupied by matchMethod parameters in edu.ntnu.idatt1002.k1g4 with type arguments of type MatchModifier and TypeMethodDescriptionvoid
Division.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 Match
Model.getCurrentMatch()
Returns the match that is currently selectedMethods in edu.ntnu.idatt1002.k1g4.client with parameters of type MatchModifier and TypeMethodDescriptionstatic void
Model.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 TypeMethodDescriptionvoid
Method to add a match to the database.void
MatchDAO.updateMatch
(Match match) Method to update match data.