Browse Source

Added Javadoc to CERO Category Methods

dev
Adem Berber 3 years ago
parent
commit
b1f560051d
  1. 25
      projjpn/src/main/java/de/hs_fulda/ciip/projjpn/Games.java

25
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); return result.substring(0, result.length() - 2);
} }
/**
* Checks if the game is CERO A.
*
* @return Prints all the CERO A games.
*/
public String checkCeroA() { public String checkCeroA() {
String result = ""; String result = "";
String query = "SELECT Game_Name, Game_CERO_Rating FROM Games"; String query = "SELECT Game_Name, Game_CERO_Rating FROM Games";
@ -2017,6 +2022,11 @@ public class Games {
return result.substring(0, result.length() - 2); return result.substring(0, result.length() - 2);
} }
/**
* Checks if the game is CERO B.
*
* @return Prints all the CERO B games.
*/
public String checkCeroB() { public String checkCeroB() {
String result = ""; String result = "";
String query = "SELECT Game_Name, Game_CERO_Rating FROM Games"; String query = "SELECT Game_Name, Game_CERO_Rating FROM Games";
@ -2046,6 +2056,11 @@ public class Games {
return result.substring(0, result.length() - 2); return result.substring(0, result.length() - 2);
} }
/**
* Checks if the game is CERO C.
*
* @return Prints all the CERO C games.
*/
public String checkCeroC() { public String checkCeroC() {
String result = ""; String result = "";
String query = "SELECT Game_Name, Game_CERO_Rating FROM Games"; String query = "SELECT Game_Name, Game_CERO_Rating FROM Games";
@ -2075,6 +2090,11 @@ public class Games {
return result.substring(0, result.length() - 2); return result.substring(0, result.length() - 2);
} }
/**
* Checks if the game is CERO D.
*
* @return Prints all the CERO D games.
*/
public String checkCeroD() { public String checkCeroD() {
String result = ""; String result = "";
String query = "SELECT Game_Name, Game_CERO_Rating FROM Games"; String query = "SELECT Game_Name, Game_CERO_Rating FROM Games";
@ -2104,6 +2124,11 @@ public class Games {
return result.substring(0, result.length() - 2); return result.substring(0, result.length() - 2);
} }
/**
* Checks if the game is CERO Z.
*
* @return Prints all the CERO Z games.
*/
public String checkCeroZ() { public String checkCeroZ() {
String result = ""; String result = "";
String query = "SELECT Game_Name, Game_CERO_Rating FROM Games"; String query = "SELECT Game_Name, Game_CERO_Rating FROM Games";

Loading…
Cancel
Save