public class Box extends Object implements io.gs2.model.IModel, Serializable, Comparable<Box>
| Modifier and Type | Field and Description |
|---|---|
protected String |
boxId
ボックス
|
protected Long |
createdAt
作成日時
|
protected List<Integer> |
drawnIndexes
排出済み景品のインデックスのリスト
|
protected String |
prizeTableName
排出確率テーブル名
|
protected Long |
updatedAt
最終更新日時
|
protected String |
userId
ユーザーID
|
| Constructor and Description |
|---|
Box() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Box o) |
boolean |
equals(Object o) |
String |
getBoxId()
ボックスを取得
|
Long |
getCreatedAt()
作成日時を取得
|
List<Integer> |
getDrawnIndexes()
排出済み景品のインデックスのリストを取得
|
String |
getPrizeTableName()
排出確率テーブル名を取得
|
Long |
getUpdatedAt()
最終更新日時を取得
|
String |
getUserId()
ユーザーIDを取得
|
int |
hashCode() |
void |
setBoxId(String boxId)
ボックスを設定
|
void |
setCreatedAt(Long createdAt)
作成日時を設定
|
void |
setDrawnIndexes(List<Integer> drawnIndexes)
排出済み景品のインデックスのリストを設定
|
void |
setPrizeTableName(String prizeTableName)
排出確率テーブル名を設定
|
void |
setUpdatedAt(Long updatedAt)
最終更新日時を設定
|
void |
setUserId(String userId)
ユーザーIDを設定
|
com.fasterxml.jackson.databind.node.ObjectNode |
toJson() |
Box |
withBoxId(String boxId)
ボックスを設定
|
Box |
withCreatedAt(Long createdAt)
作成日時を設定
|
Box |
withDrawnIndexes(List<Integer> drawnIndexes)
排出済み景品のインデックスのリストを設定
|
Box |
withPrizeTableName(String prizeTableName)
排出確率テーブル名を設定
|
Box |
withUpdatedAt(Long updatedAt)
最終更新日時を設定
|
Box |
withUserId(String userId)
ユーザーIDを設定
|
protected String boxId
protected String prizeTableName
protected String userId
protected Long createdAt
protected Long updatedAt
public String getBoxId()
public void setBoxId(String boxId)
boxId - ボックスpublic String getPrizeTableName()
public void setPrizeTableName(String prizeTableName)
prizeTableName - 排出確率テーブル名public Box withPrizeTableName(String prizeTableName)
prizeTableName - 排出確率テーブル名public String getUserId()
public void setUserId(String userId)
userId - ユーザーIDpublic List<Integer> getDrawnIndexes()
public void setDrawnIndexes(List<Integer> drawnIndexes)
drawnIndexes - 排出済み景品のインデックスのリストpublic Box withDrawnIndexes(List<Integer> drawnIndexes)
drawnIndexes - 排出済み景品のインデックスのリストpublic Long getCreatedAt()
public void setCreatedAt(Long createdAt)
createdAt - 作成日時public Box withCreatedAt(Long createdAt)
createdAt - 作成日時public Long getUpdatedAt()
public void setUpdatedAt(Long updatedAt)
updatedAt - 最終更新日時public Box withUpdatedAt(Long updatedAt)
updatedAt - 最終更新日時public com.fasterxml.jackson.databind.node.ObjectNode toJson()
public int compareTo(Box o)
compareTo in interface Comparable<Box>Copyright © 2016-2019 Game Server Services, Inc. AllRights Reserved.