Bridges-Java
3.4.3
Bridges(Java API)
|
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
Public Member Functions | |
Game () | |
Game (String title, String platform, double rating, Vector< String > genre) | |
String | getTitle () |
void | setTitle (String title) |
String | getPlatformType () |
void | setPlatformType (String platform) |
double | getRating () |
void | setRating (double rating) |
Vector< String > | getGenre () |
void | setGenre (Vector< String > genre) |
Package Attributes | |
String | platform |
Vector< String > | genre |
bridges.data_src_dependent.Game.Game | ( | ) |
Constructor
bridges.data_src_dependent.Game.Game | ( | String | title, |
String | platform, | ||
double | rating, | ||
Vector< String > | genre | ||
) |
Constructor
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) |
Vector<String> bridges.data_src_dependent.Game.getGenre | ( | ) |
get genres of game
String bridges.data_src_dependent.Game.getPlatformType | ( | ) |
get platform type of game
double bridges.data_src_dependent.Game.getRating | ( | ) |
get rating of game
String bridges.data_src_dependent.Game.getTitle | ( | ) |
get title of game
void bridges.data_src_dependent.Game.setGenre | ( | Vector< String > | genre | ) |
set genres of game
genre | genres to be set (vector of strings) |
void bridges.data_src_dependent.Game.setPlatformType | ( | String | platform | ) |
set platform type of game
platform | platform type to be set (string) |
void bridges.data_src_dependent.Game.setRating | ( | double | rating | ) |
set rating of game
rating | rating to be set (double) |
void bridges.data_src_dependent.Game.setTitle | ( | String | title | ) |
set title of game
title | game title to be set (string) |
|
package |
|
package |