Class Play
- java.lang.Object
-
- edu.cnm.deepdive.dominionendpointtestspring.model.entity.Play
-
@Entity public class Play extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Play.Type
-
Constructor Summary
Constructors Constructor Description Play()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Card
getCard()
Game
getGame()
int
getId()
Player
getPlayer()
Turn
getTurn()
Play.Type
getType()
void
setCard(Card card)
void
setGame(Game game)
void
setId(int id)
void
setPlayer(Player player)
void
setTurn(Turn turn)
void
setType(Play.Type type)
-
-
-
Method Detail
-
getId
public int getId()
-
setId
public void setId(int id)
-
getPlayer
@NonNull public Player getPlayer()
-
setPlayer
public void setPlayer(@NonNull Player player)
-
getTurn
@NonNull public Turn getTurn()
-
setTurn
public void setTurn(@NonNull Turn turn)
-
getGame
@NonNull public Game getGame()
-
setGame
public void setGame(@NonNull Game game)
-
getCard
public Card getCard()
-
setCard
public void setCard(Card card)
-
getType
public Play.Type getType()
-
setType
public void setType(Play.Type type)
-
-