public class Stamina extends Object implements io.gs2.model.IModel, Serializable, Comparable<Stamina>
| Modifier and Type | Field and Description |
|---|---|
protected Long |
createdAt
作成日時
|
protected Long |
lastRecoveredAt
作成日時
|
protected Integer |
maxValue
スタミナの最大値
|
protected Long |
nextRecoverAt
次回スタミナが回復する時間
|
protected Integer |
overflowValue
スタミナの最大値を超えて格納されているスタミナ値
|
protected String |
staminaId
スタミナ
|
protected String |
staminaName
スタミナモデルの名前
|
protected Long |
updatedAt
最終更新日時
|
protected String |
userId
ユーザーID
|
protected Integer |
value
最終更新時におけるスタミナ値
|
| Constructor and Description |
|---|
Stamina() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Stamina o) |
boolean |
equals(Object o) |
Long |
getCreatedAt()
作成日時を取得
|
Long |
getLastRecoveredAt()
作成日時を取得
|
Integer |
getMaxValue()
スタミナの最大値を取得
|
Long |
getNextRecoverAt()
次回スタミナが回復する時間を取得
|
Integer |
getOverflowValue()
スタミナの最大値を超えて格納されているスタミナ値を取得
|
String |
getStaminaId()
スタミナを取得
|
String |
getStaminaName()
スタミナモデルの名前を取得
|
Long |
getUpdatedAt()
最終更新日時を取得
|
String |
getUserId()
ユーザーIDを取得
|
Integer |
getValue()
最終更新時におけるスタミナ値を取得
|
int |
hashCode() |
void |
setCreatedAt(Long createdAt)
作成日時を設定
|
void |
setLastRecoveredAt(Long lastRecoveredAt)
作成日時を設定
|
void |
setMaxValue(Integer maxValue)
スタミナの最大値を設定
|
void |
setNextRecoverAt(Long nextRecoverAt)
次回スタミナが回復する時間を設定
|
void |
setOverflowValue(Integer overflowValue)
スタミナの最大値を超えて格納されているスタミナ値を設定
|
void |
setStaminaId(String staminaId)
スタミナを設定
|
void |
setStaminaName(String staminaName)
スタミナモデルの名前を設定
|
void |
setUpdatedAt(Long updatedAt)
最終更新日時を設定
|
void |
setUserId(String userId)
ユーザーIDを設定
|
void |
setValue(Integer value)
最終更新時におけるスタミナ値を設定
|
com.fasterxml.jackson.databind.node.ObjectNode |
toJson() |
Stamina |
withCreatedAt(Long createdAt)
作成日時を設定
|
Stamina |
withLastRecoveredAt(Long lastRecoveredAt)
作成日時を設定
|
Stamina |
withMaxValue(Integer maxValue)
スタミナの最大値を設定
|
Stamina |
withNextRecoverAt(Long nextRecoverAt)
次回スタミナが回復する時間を設定
|
Stamina |
withOverflowValue(Integer overflowValue)
スタミナの最大値を超えて格納されているスタミナ値を設定
|
Stamina |
withStaminaId(String staminaId)
スタミナを設定
|
Stamina |
withStaminaName(String staminaName)
スタミナモデルの名前を設定
|
Stamina |
withUpdatedAt(Long updatedAt)
最終更新日時を設定
|
Stamina |
withUserId(String userId)
ユーザーIDを設定
|
Stamina |
withValue(Integer value)
最終更新時におけるスタミナ値を設定
|
protected String staminaId
protected String staminaName
protected String userId
protected Integer value
protected Integer maxValue
protected Integer overflowValue
protected Long nextRecoverAt
protected Long lastRecoveredAt
protected Long createdAt
protected Long updatedAt
public String getStaminaId()
public void setStaminaId(String staminaId)
staminaId - スタミナpublic Stamina withStaminaId(String staminaId)
staminaId - スタミナpublic String getStaminaName()
public void setStaminaName(String staminaName)
staminaName - スタミナモデルの名前public Stamina withStaminaName(String staminaName)
staminaName - スタミナモデルの名前public String getUserId()
public void setUserId(String userId)
userId - ユーザーIDpublic Stamina withUserId(String userId)
userId - ユーザーIDpublic Integer getValue()
public void setValue(Integer value)
value - 最終更新時におけるスタミナ値public Stamina withValue(Integer value)
value - 最終更新時におけるスタミナ値public Integer getMaxValue()
public void setMaxValue(Integer maxValue)
maxValue - スタミナの最大値public Stamina withMaxValue(Integer maxValue)
maxValue - スタミナの最大値public Integer getOverflowValue()
public void setOverflowValue(Integer overflowValue)
overflowValue - スタミナの最大値を超えて格納されているスタミナ値public Stamina withOverflowValue(Integer overflowValue)
overflowValue - スタミナの最大値を超えて格納されているスタミナ値public Long getNextRecoverAt()
public void setNextRecoverAt(Long nextRecoverAt)
nextRecoverAt - 次回スタミナが回復する時間public Stamina withNextRecoverAt(Long nextRecoverAt)
nextRecoverAt - 次回スタミナが回復する時間public Long getLastRecoveredAt()
public void setLastRecoveredAt(Long lastRecoveredAt)
lastRecoveredAt - 作成日時public Stamina withLastRecoveredAt(Long lastRecoveredAt)
lastRecoveredAt - 作成日時public Long getCreatedAt()
public void setCreatedAt(Long createdAt)
createdAt - 作成日時public Stamina withCreatedAt(Long createdAt)
createdAt - 作成日時public Long getUpdatedAt()
public void setUpdatedAt(Long updatedAt)
updatedAt - 最終更新日時public Stamina withUpdatedAt(Long updatedAt)
updatedAt - 最終更新日時public com.fasterxml.jackson.databind.node.ObjectNode toJson()
public int compareTo(Stamina o)
compareTo in interface Comparable<Stamina>Copyright © 2016-2019 Game Server Services, Inc. AllRights Reserved.