A Game object, used along with the Games data source.
More...
A Game object, used along with the Games data source.
This is a convenience class provided for users who wish to use this data source as part of their application. It provides an API that makes it easy to access the attributes of this data set.
One would not normally create an object of this type, but rather obtain them through a call to bridges::connect::DataSource::getGameData().
Each game has a title, platform on which it can be played, rating and a list of genres
Refer to tutorial examples on how to use this dataset: https://bridgesuncc.github.io/tutorials/Data_IGN_Games.html
- Author
- Kalpathi Subramanian
- Date
- 2/1/17, 12/26/20
◆ Game() [1/2]
bridges.data_src_dependent.Game.Game |
( |
| ) |
|
◆ Game() [2/2]
bridges.data_src_dependent.Game.Game |
( |
String |
title, |
|
|
String |
platform, |
|
|
double |
rating, |
|
|
Vector< String > |
genre |
|
) |
| |
Constructor
- Parameters
-
title | title of game |
platform | platform on which it can be played (String) |
rating | rating of game (double) |
genre | genres of game (vector of strings) |
◆ getGenre()
Vector<String> bridges.data_src_dependent.Game.getGenre |
( |
| ) |
|
get genres of game
- Returns
- genres (vector of strings)
◆ getPlatformType()
String bridges.data_src_dependent.Game.getPlatformType |
( |
| ) |
|
get platform type of game
- Returns
- platform types (string)
◆ getRating()
double bridges.data_src_dependent.Game.getRating |
( |
| ) |
|
get rating of game
- Returns
- rating (double)
◆ getTitle()
String bridges.data_src_dependent.Game.getTitle |
( |
| ) |
|
get title of game
- Returns
- title of game (string)
◆ setGenre()
void bridges.data_src_dependent.Game.setGenre |
( |
Vector< String > |
genre | ) |
|
set genres of game
- Parameters
-
genre | genres to be set (vector of strings) |
◆ setPlatformType()
void bridges.data_src_dependent.Game.setPlatformType |
( |
String |
platform | ) |
|
set platform type of game
- Parameters
-
platform | platform type to be set (string) |
◆ setRating()
void bridges.data_src_dependent.Game.setRating |
( |
double |
rating | ) |
|
set rating of game
- Parameters
-
rating | rating to be set (double) |
◆ setTitle()
void bridges.data_src_dependent.Game.setTitle |
( |
String |
title | ) |
|
set title of game
- Parameters
-
title | game title to be set (string) |
◆ genre
Vector<String> bridges.data_src_dependent.Game.genre |
|
package |
◆ platform
String bridges.data_src_dependent.Game.platform |
|
package |
The documentation for this class was generated from the following file:
- bridges-java/src/main/java/bridges/data_src_dependent/Game.java