Browse Source

Added Javadoc to USK Category Methods

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

@ -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";

Loading…
Cancel
Save