From 33bdfd87d0375681112cd4f8399423f9487b22c4 Mon Sep 17 00:00:00 2001 From: Adem Berber Date: Tue, 15 Feb 2022 04:11:59 +0100 Subject: [PATCH] Added Javadoc to USK 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 1dc1f93..e80aba5 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 @@ -1478,6 +1478,11 @@ public class Games { return result.substring(0, result.length() - 2); } + /** + * Checks if the game is USK 0 + * + * @return Prints all the USK 0 games. + */ public String checkUskZero() { String result = ""; String query = "SELECT Game_Name, Game_USK_Rating FROM Games"; @@ -1507,6 +1512,11 @@ public class Games { return result.substring(0, result.length() - 2); } + /** + * Checks if the game is USK 6 + * + * @return Prints all the USK 6 games. + */ public String checkUskSix() { String result = ""; String query = "SELECT Game_Name, Game_USK_Rating FROM Games"; @@ -1536,6 +1546,11 @@ public class Games { return result.substring(0, result.length() - 2); } + /** + * Checks if the game is USK 12 + * + * @return Prints all the USK 12 games. + */ public String checkUskTwelve() { String result = ""; String query = "SELECT Game_Name, Game_USK_Rating FROM Games"; @@ -1565,6 +1580,11 @@ public class Games { return result.substring(0, result.length() - 2); } + /** + * Checks if the game is USK 16 + * + * @return Prints all the USK 16 games. + */ public String checkUskSixteen() { String result = ""; String query = "SELECT Game_Name, Game_USK_Rating FROM Games"; @@ -1594,6 +1614,11 @@ public class Games { return result.substring(0, result.length() - 2); } + /** + * Checks if the game is USK 18 + * + * @return Prints all the USK 18 games. + */ public String checkUskEighteen() { String result = ""; String query = "SELECT Game_Name, Game_USK_Rating FROM Games";