From b1f560051d24517fe738186adee39351c03114e4 Mon Sep 17 00:00:00 2001 From: Adem Berber Date: Tue, 15 Feb 2022 04:18:05 +0100 Subject: [PATCH] Added Javadoc to CERO 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 f0b095e..635649d 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 @@ -1988,6 +1988,11 @@ public class Games { return result.substring(0, result.length() - 2); } + /** + * Checks if the game is CERO A. + * + * @return Prints all the CERO A games. + */ public String checkCeroA() { String result = ""; String query = "SELECT Game_Name, Game_CERO_Rating FROM Games"; @@ -2017,6 +2022,11 @@ public class Games { return result.substring(0, result.length() - 2); } + /** + * Checks if the game is CERO B. + * + * @return Prints all the CERO B games. + */ public String checkCeroB() { String result = ""; String query = "SELECT Game_Name, Game_CERO_Rating FROM Games"; @@ -2046,6 +2056,11 @@ public class Games { return result.substring(0, result.length() - 2); } + /** + * Checks if the game is CERO C. + * + * @return Prints all the CERO C games. + */ public String checkCeroC() { String result = ""; String query = "SELECT Game_Name, Game_CERO_Rating FROM Games"; @@ -2075,6 +2090,11 @@ public class Games { return result.substring(0, result.length() - 2); } + /** + * Checks if the game is CERO D. + * + * @return Prints all the CERO D games. + */ public String checkCeroD() { String result = ""; String query = "SELECT Game_Name, Game_CERO_Rating FROM Games"; @@ -2104,6 +2124,11 @@ public class Games { return result.substring(0, result.length() - 2); } + /** + * Checks if the game is CERO Z. + * + * @return Prints all the CERO Z games. + */ public String checkCeroZ() { String result = ""; String query = "SELECT Game_Name, Game_CERO_Rating FROM Games";