Class Card
- java.lang.Object
-
- edu.cnm.deepdive.dominionendpointtestspring.model.entity.Card
-
@Entity public class Card extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Card.Location
static class
Card.Type
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Date
getCreated()
Game
getGame()
java.lang.Long
getId()
Card.Location
getLocation()
int
getOrderInLocation()
Player
getPlayer()
Card.Type
getType()
java.util.Date
getUpdated()
void
setCreated(java.util.Date created)
void
setGame(Game game)
void
setId(java.lang.Long id)
void
setLocation(Card.Location location)
void
setOrderInLocation(int orderInLocation)
void
setPlayer(Player player)
void
setType(Card.Type type)
void
setUpdated(java.util.Date updated)
-
-
-
Constructor Detail
-
Card
public Card(Card.Type type)
-
-
Method Detail
-
getId
public java.lang.Long getId()
-
setId
public void setId(java.lang.Long id)
-
getOrderInLocation
public int getOrderInLocation()
-
setOrderInLocation
public void setOrderInLocation(int orderInLocation)
-
getCreated
@NonNull public java.util.Date getCreated()
-
setCreated
public void setCreated(@NonNull java.util.Date created)
-
getUpdated
@NonNull public java.util.Date getUpdated()
-
setUpdated
public void setUpdated(@NonNull java.util.Date updated)
-
getLocation
public Card.Location getLocation()
-
setLocation
public void setLocation(Card.Location location)
-
getPlayer
@NonNull public Player getPlayer()
-
setPlayer
public void setPlayer(@NonNull Player player)
-
getType
public Card.Type getType()
-
setType
public void setType(Card.Type type)
-
getGame
public Game getGame()
-
setGame
public void setGame(Game game)
-
-