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 9e8a0dd..f0b095e 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 @@ -1818,6 +1818,11 @@ public class Games { return result.substring(0, result.length() - 2); } + /** + * Checks if the game has no PEGI rating. + * + * @return Prints all the games without a PEGI rating. + */ public String checkPegiUnknown() { String result = ""; String query = "SELECT Game_Name, Game_PEGI_Rating FROM Games"; @@ -1847,6 +1852,11 @@ public class Games { return result.substring(0, result.length() - 2); } + /** + * Checks if the game is ESRB E. + * + * @return Prints all the ESRB E games. + */ public String checkEsrbE() { String result = ""; String query = "SELECT Game_Name, Game_ESRB_Rating FROM Games"; @@ -1876,6 +1886,11 @@ public class Games { return result.substring(0, result.length() - 2); } + /** + * Checks if the game is ESRB E10+. + * + * @return Prints all the ESRB E10+ games. + */ public String checkEsrbEten() { String result = ""; String query = "SELECT Game_Name, Game_ESRB_Rating FROM Games"; @@ -1905,6 +1920,11 @@ public class Games { return result.substring(0, result.length() - 2); } + /** + * Checks if the game is ESRB T. + * + * @return Prints all the ESRB T games. + */ public String checkEsrbT() { String result = ""; String query = "SELECT Game_Name, Game_ESRB_Rating FROM Games"; @@ -1934,6 +1954,11 @@ public class Games { return result.substring(0, result.length() - 2); } + /** + * Checks if the game is ESRB M. + * + * @return Prints all the ESRB M games. + */ public String checkEsrbM() { String result = ""; String query = "SELECT Game_Name, Game_ESRB_Rating FROM Games";