Browse Source

Added Javadoc to ACB Category Methods

dev
Adem Berber 3 years ago
parent
commit
bb4d54da82
  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

@ -2158,6 +2158,11 @@ public class Games {
return result.substring(0, result.length() - 2); return result.substring(0, result.length() - 2);
} }
/**
* Checks if the game is ACB G.
*
* @return Prints all the ACB G games.
*/
public String checkAcbG() { public String checkAcbG() {
String result = ""; String result = "";
String query = "SELECT Game_Name, Game_ACB_Rating FROM Games"; String query = "SELECT Game_Name, Game_ACB_Rating FROM Games";
@ -2187,6 +2192,11 @@ public class Games {
return result.substring(0, result.length() - 2); return result.substring(0, result.length() - 2);
} }
/**
* Checks if the game is ACB PG.
*
* @return Prints all the ACB PG games.
*/
public String checkAcbPg() { public String checkAcbPg() {
String result = ""; String result = "";
String query = "SELECT Game_Name, Game_ACB_Rating FROM Games"; String query = "SELECT Game_Name, Game_ACB_Rating FROM Games";
@ -2216,6 +2226,11 @@ public class Games {
return result.substring(0, result.length() - 2); return result.substring(0, result.length() - 2);
} }
/**
* Checks if the game is ACB M.
*
* @return Prints all the ACB M games.
*/
public String checkAcbM() { public String checkAcbM() {
String result = ""; String result = "";
String query = "SELECT Game_Name, Game_ACB_Rating FROM Games"; String query = "SELECT Game_Name, Game_ACB_Rating FROM Games";
@ -2245,6 +2260,11 @@ public class Games {
return result.substring(0, result.length() - 2); 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() { public String checkAcbMaFifteen() {
String result = ""; String result = "";
String query = "SELECT Game_Name, Game_ACB_Rating FROM Games"; String query = "SELECT Game_Name, Game_ACB_Rating FROM Games";
@ -2274,6 +2294,11 @@ public class Games {
return result.substring(0, result.length() - 2); 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() { public String checkAcbReighteen() {
String result = ""; String result = "";
String query = "SELECT Game_Name, Game_ACB_Rating FROM Games"; String query = "SELECT Game_Name, Game_ACB_Rating FROM Games";

Loading…
Cancel
Save