Package com.treescrub.spedran.data
Class Genre
- java.lang.Object
-
- com.treescrub.spedran.data.Resource
-
- com.treescrub.spedran.data.IdentifiableResource
-
- com.treescrub.spedran.data.IdentifiableNamedResource
-
- com.treescrub.spedran.data.Genre
-
public class Genre extends IdentifiableNamedResource
A genre of game.
For example: FPS, platformer, and so on.
This class is immutable and thread-safe.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GamesRequestgetGames()Gets a newGamesRequestbuilder object to request all the games that are in this genre.StringtoString()-
Methods inherited from class com.treescrub.spedran.data.IdentifiableNamedResource
getName
-
Methods inherited from class com.treescrub.spedran.data.IdentifiableResource
equals, getId, hashCode
-
-
-
-
Method Detail
-
getGames
public GamesRequest getGames()
Gets a newGamesRequestbuilder object to request all the games that are in this genre.- Returns:
- a
GamesRequestbuilder
-
-