Class GamePlayer
- java.lang.Object
-
- edu.cnm.deepdive.dominionendpointtestspring.model.entity.GamePlayer
-
- All Implemented Interfaces:
FlatGameGamePlayer
,FlatPlayerGamePlayer
@Entity public class GamePlayer extends java.lang.Object implements FlatGameGamePlayer, FlatPlayerGamePlayer
-
-
Constructor Summary
Constructors Constructor Description GamePlayer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Date
getCreated()
Game
getGame()
java.lang.Long
getId()
Player
getPlayer()
void
setGame(Game game)
void
setPlayer(Player player)
-
-
-
Method Detail
-
getId
public java.lang.Long getId()
- Specified by:
getId
in interfaceFlatGameGamePlayer
- Specified by:
getId
in interfaceFlatPlayerGamePlayer
-
getCreated
@NonNull public java.util.Date getCreated()
- Specified by:
getCreated
in interfaceFlatGameGamePlayer
- Specified by:
getCreated
in interfaceFlatPlayerGamePlayer
-
getGame
@NonNull public Game getGame()
- Specified by:
getGame
in interfaceFlatPlayerGamePlayer
-
setGame
public void setGame(@NonNull Game game)
-
getPlayer
@NonNull public Player getPlayer()
- Specified by:
getPlayer
in interfaceFlatGameGamePlayer
-
setPlayer
public void setPlayer(@NonNull Player player)
-
-