public class LotteryModel extends Object implements io.gs2.model.IModel, Serializable, Comparable<LotteryModel>
| Modifier and Type | Field and Description |
|---|---|
protected String |
choicePrizeTableScriptId
抽選テーブルを確定するスクリプト のGRN
|
protected Integer |
count
抽選回数
|
protected String |
lotteryModelId
抽選の種類マスター
|
protected String |
metadata
抽選モデルの種類のメタデータ
|
protected String |
method
抽選方法
|
protected String |
mode
抽選モード
|
protected String |
name
抽選モデルの種類名
|
protected String |
prizeTableName
景品テーブルの名前
|
| Constructor and Description |
|---|
LotteryModel() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(LotteryModel o) |
boolean |
equals(Object o) |
String |
getChoicePrizeTableScriptId()
抽選テーブルを確定するスクリプト のGRNを取得
|
Integer |
getCount()
抽選回数を取得
|
String |
getLotteryModelId()
抽選の種類マスターを取得
|
String |
getMetadata()
抽選モデルの種類のメタデータを取得
|
String |
getMethod()
抽選方法を取得
|
String |
getMode()
抽選モードを取得
|
String |
getName()
抽選モデルの種類名を取得
|
String |
getPrizeTableName()
景品テーブルの名前を取得
|
int |
hashCode() |
void |
setChoicePrizeTableScriptId(String choicePrizeTableScriptId)
抽選テーブルを確定するスクリプト のGRNを設定
|
void |
setCount(Integer count)
抽選回数を設定
|
void |
setLotteryModelId(String lotteryModelId)
抽選の種類マスターを設定
|
void |
setMetadata(String metadata)
抽選モデルの種類のメタデータを設定
|
void |
setMethod(String method)
抽選方法を設定
|
void |
setMode(String mode)
抽選モードを設定
|
void |
setName(String name)
抽選モデルの種類名を設定
|
void |
setPrizeTableName(String prizeTableName)
景品テーブルの名前を設定
|
com.fasterxml.jackson.databind.node.ObjectNode |
toJson() |
LotteryModel |
withChoicePrizeTableScriptId(String choicePrizeTableScriptId)
抽選テーブルを確定するスクリプト のGRNを設定
|
LotteryModel |
withCount(Integer count)
抽選回数を設定
|
LotteryModel |
withLotteryModelId(String lotteryModelId)
抽選の種類マスターを設定
|
LotteryModel |
withMetadata(String metadata)
抽選モデルの種類のメタデータを設定
|
LotteryModel |
withMethod(String method)
抽選方法を設定
|
LotteryModel |
withMode(String mode)
抽選モードを設定
|
LotteryModel |
withName(String name)
抽選モデルの種類名を設定
|
LotteryModel |
withPrizeTableName(String prizeTableName)
景品テーブルの名前を設定
|
protected String lotteryModelId
protected String name
protected String metadata
protected String mode
protected Integer count
protected String method
protected String prizeTableName
protected String choicePrizeTableScriptId
public String getLotteryModelId()
public void setLotteryModelId(String lotteryModelId)
lotteryModelId - 抽選の種類マスターpublic LotteryModel withLotteryModelId(String lotteryModelId)
lotteryModelId - 抽選の種類マスターpublic String getName()
public void setName(String name)
name - 抽選モデルの種類名public LotteryModel withName(String name)
name - 抽選モデルの種類名public String getMetadata()
public void setMetadata(String metadata)
metadata - 抽選モデルの種類のメタデータpublic LotteryModel withMetadata(String metadata)
metadata - 抽選モデルの種類のメタデータpublic String getMode()
public void setMode(String mode)
mode - 抽選モードpublic LotteryModel withMode(String mode)
mode - 抽選モードpublic Integer getCount()
public void setCount(Integer count)
count - 抽選回数public LotteryModel withCount(Integer count)
count - 抽選回数public String getMethod()
public void setMethod(String method)
method - 抽選方法public LotteryModel withMethod(String method)
method - 抽選方法public String getPrizeTableName()
public void setPrizeTableName(String prizeTableName)
prizeTableName - 景品テーブルの名前public LotteryModel withPrizeTableName(String prizeTableName)
prizeTableName - 景品テーブルの名前public String getChoicePrizeTableScriptId()
public void setChoicePrizeTableScriptId(String choicePrizeTableScriptId)
choicePrizeTableScriptId - 抽選テーブルを確定するスクリプト のGRNpublic LotteryModel withChoicePrizeTableScriptId(String choicePrizeTableScriptId)
choicePrizeTableScriptId - 抽選テーブルを確定するスクリプト のGRNpublic com.fasterxml.jackson.databind.node.ObjectNode toJson()
public int compareTo(LotteryModel o)
compareTo in interface Comparable<LotteryModel>Copyright © 2016-2019 Game Server Services, Inc. AllRights Reserved.