Uses of Class
edu.ntnu.idatt1002.k1g4.Division
Packages that use Division
Package
Description
-
Uses of Division in edu.ntnu.idatt1002.k1g4
Methods in edu.ntnu.idatt1002.k1g4 that return DivisionModifier and TypeMethodDescriptionCup.getEqualDivision
(Division division) Helper method to get the division 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 DivisionModifier and TypeMethodDescriptionCup.getDivisions()
Returns a list of divisions with composition.Methods in edu.ntnu.idatt1002.k1g4 with parameters of type DivisionModifier and TypeMethodDescriptionboolean
Cup.addDivision
(Division division) Method which adds division to the list of divisions.boolean
Cup.addMatchInDivision
(Division division, Match match) Finds the correct division and adds a match to the division.boolean
Cup.addTeamInDivision
(Division division, Team team) Finds the correct division and adds a team to the division.Cup.getEqualDivision
(Division division) Helper method to get the division that is equal to the object that is provided This is to solve the problems with compositionvoid
Cup.removeDivision
(Division division) Method which removes division to the list of divisions.boolean
Cup.removeMatchInDivision
(Division division, Match match) Finds the correct division and adds a match to the division.boolean
Cup.removeTeamInDivision
(Division division, Team team) Finds the correct division and removes a team from the division.Method parameters in edu.ntnu.idatt1002.k1g4 with type arguments of type DivisionModifier and TypeMethodDescriptionvoid
Cup.setDivisions
(ArrayList<Division> divisions) Sets divisions.Constructor parameters in edu.ntnu.idatt1002.k1g4 with type arguments of type DivisionModifierConstructorDescriptionCup
(String name, String location, ArrayList<Division> divisions, LocalDateTime startTime, LocalDateTime endTime) Instantiates a new Cup. -
Uses of Division in edu.ntnu.idatt1002.k1g4.client
Methods in edu.ntnu.idatt1002.k1g4.client that return DivisionModifier and TypeMethodDescriptionstatic Division
Model.getCurrentDivision()
Returns the division that is currently selectedMethods in edu.ntnu.idatt1002.k1g4.client with parameters of type DivisionModifier and TypeMethodDescriptionstatic void
Model.setCurrentDivision
(Division newDivision) Selects a new division as the current one -
Uses of Division in edu.ntnu.idatt1002.k1g4.dao
Methods in edu.ntnu.idatt1002.k1g4.dao that return types with arguments of type DivisionModifier and TypeMethodDescriptionDivisionDAO.getDivisionsByCup
(int cupId) Gets all divisions with respective data in a cup.Methods in edu.ntnu.idatt1002.k1g4.dao with parameters of type DivisionModifier and TypeMethodDescriptionvoid
DivisionDAO.addDivision
(Division division) Method to add a division to the database.