-
- All Implemented Interfaces:
-
org.occurrent.example.domain.rps.model.Command
public final class CreateGame implements Command
-
-
Field Summary
Fields Modifier and Type Field Description private final GameIdgameIdprivate final Timestamptimestampprivate final GameCreatorIdcreatorprivate final MaxNumberOfRoundsmaxNumberOfRounds
-
Constructor Summary
Constructors Constructor Description CreateGame(GameId gameId, Timestamp timestamp, GameCreatorId creator, MaxNumberOfRounds maxNumberOfRounds)
-
Method Summary
Modifier and Type Method Description final GameIdgetGameId()final TimestampgetTimestamp()final GameCreatorIdgetCreator()final MaxNumberOfRoundsgetMaxNumberOfRounds()-
-
Constructor Detail
-
CreateGame
CreateGame(GameId gameId, Timestamp timestamp, GameCreatorId creator, MaxNumberOfRounds maxNumberOfRounds)
-
-
Method Detail
-
getTimestamp
final Timestamp getTimestamp()
-
getCreator
final GameCreatorId getCreator()
-
getMaxNumberOfRounds
final MaxNumberOfRounds getMaxNumberOfRounds()
-
-
-
-