Class Player
- java.lang.Object
-
- edu.cnm.deepdive.dominionendpointtestspring.model.entity.Player
-
- All Implemented Interfaces:
FlatPlayer
@Entity public class Player extends java.lang.Object implements FlatPlayer
The type Player.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Player.PlayerStateInGame
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getActionsRemaining()
int
getBuysRemaining()
java.lang.String
getDisplayName()
java.util.List<GamePlayer>
getGamePlayers()
java.lang.Long
getId()
java.lang.String
getOauthKey()
Player.PlayerStateInGame
getPlayerStateInGame()
void
setActionsRemaining(int actionsRemaining)
void
setBuysRemaining(int buysRemaining)
void
setDisplayName(java.lang.String displayName)
void
setGamePlayers(java.util.List<GamePlayer> gamePlayers)
void
setId(java.lang.Long id)
void
setOauthKey(java.lang.String oauthKey)
void
setPlayerStateInGame(Player.PlayerStateInGame playerStateInGame)
-
-
-
Method Detail
-
getActionsRemaining
public int getActionsRemaining()
-
setActionsRemaining
public void setActionsRemaining(int actionsRemaining)
-
getBuysRemaining
public int getBuysRemaining()
-
setBuysRemaining
public void setBuysRemaining(int buysRemaining)
-
getId
public java.lang.Long getId()
- Specified by:
getId
in interfaceFlatPlayer
-
getOauthKey
public java.lang.String getOauthKey()
-
setOauthKey
public void setOauthKey(java.lang.String oauthKey)
-
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName
in interfaceFlatPlayer
-
setDisplayName
public void setDisplayName(java.lang.String displayName)
-
getGamePlayers
public java.util.List<GamePlayer> getGamePlayers()
-
setId
public void setId(java.lang.Long id)
-
getPlayerStateInGame
public Player.PlayerStateInGame getPlayerStateInGame()
-
setPlayerStateInGame
public void setPlayerStateInGame(Player.PlayerStateInGame playerStateInGame)
-
setGamePlayers
public void setGamePlayers(java.util.List<GamePlayer> gamePlayers)
-
-