From bb4d54da8283c2ef6af774350b33b47d97f1d877 Mon Sep 17 00:00:00 2001 From: Adem Berber Date: Tue, 15 Feb 2022 04:20:18 +0100 Subject: [PATCH] Added Javadoc to ACB Category Methods --- .../java/de/hs_fulda/ciip/projjpn/Games.java | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/projjpn/src/main/java/de/hs_fulda/ciip/projjpn/Games.java b/projjpn/src/main/java/de/hs_fulda/ciip/projjpn/Games.java index 635649d..6198ab1 100644 --- a/projjpn/src/main/java/de/hs_fulda/ciip/projjpn/Games.java +++ b/projjpn/src/main/java/de/hs_fulda/ciip/projjpn/Games.java @@ -2158,6 +2158,11 @@ public class Games { return result.substring(0, result.length() - 2); } + /** + * Checks if the game is ACB G. + * + * @return Prints all the ACB G games. + */ public String checkAcbG() { String result = ""; String query = "SELECT Game_Name, Game_ACB_Rating FROM Games"; @@ -2187,6 +2192,11 @@ public class Games { return result.substring(0, result.length() - 2); } + /** + * Checks if the game is ACB PG. + * + * @return Prints all the ACB PG games. + */ public String checkAcbPg() { String result = ""; String query = "SELECT Game_Name, Game_ACB_Rating FROM Games"; @@ -2216,6 +2226,11 @@ public class Games { return result.substring(0, result.length() - 2); } + /** + * Checks if the game is ACB M. + * + * @return Prints all the ACB M games. + */ public String checkAcbM() { String result = ""; String query = "SELECT Game_Name, Game_ACB_Rating FROM Games"; @@ -2245,6 +2260,11 @@ public class Games { return result.substring(0, result.length() - 2); } + /** + * Checks if the game is ACB MA 15+. + * + * @return Prints all the ACB MA 15+ games. + */ public String checkAcbMaFifteen() { String result = ""; String query = "SELECT Game_Name, Game_ACB_Rating FROM Games"; @@ -2274,6 +2294,11 @@ public class Games { return result.substring(0, result.length() - 2); } + /** + * Checks if the game is ACB R 18+. + * + * @return Prints all the ACB R 18+ games. + */ public String checkAcbReighteen() { String result = ""; String query = "SELECT Game_Name, Game_ACB_Rating FROM Games";