public class ExperienceModel extends Object implements io.gs2.model.IModel, Serializable, Comparable<ExperienceModel>
| Modifier and Type | Field and Description |
|---|---|
protected Long |
defaultExperience
経験値の初期値
|
protected Long |
defaultRankCap
ランクキャップの初期値
|
protected String |
experienceModelId
経験値の種類マスター
|
protected Long |
maxRankCap
ランクキャップの最大値
|
protected String |
metadata
経験値の種類のメタデータ
|
protected String |
name
経験値の種類名
|
protected Threshold |
rankThreshold
ランクアップ閾値
|
| Constructor and Description |
|---|
ExperienceModel() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ExperienceModel o) |
boolean |
equals(Object o) |
Long |
getDefaultExperience()
経験値の初期値を取得
|
Long |
getDefaultRankCap()
ランクキャップの初期値を取得
|
String |
getExperienceModelId()
経験値の種類マスターを取得
|
Long |
getMaxRankCap()
ランクキャップの最大値を取得
|
String |
getMetadata()
経験値の種類のメタデータを取得
|
String |
getName()
経験値の種類名を取得
|
Threshold |
getRankThreshold()
ランクアップ閾値を取得
|
int |
hashCode() |
void |
setDefaultExperience(Long defaultExperience)
経験値の初期値を設定
|
void |
setDefaultRankCap(Long defaultRankCap)
ランクキャップの初期値を設定
|
void |
setExperienceModelId(String experienceModelId)
経験値の種類マスターを設定
|
void |
setMaxRankCap(Long maxRankCap)
ランクキャップの最大値を設定
|
void |
setMetadata(String metadata)
経験値の種類のメタデータを設定
|
void |
setName(String name)
経験値の種類名を設定
|
void |
setRankThreshold(Threshold rankThreshold)
ランクアップ閾値を設定
|
com.fasterxml.jackson.databind.node.ObjectNode |
toJson() |
ExperienceModel |
withDefaultExperience(Long defaultExperience)
経験値の初期値を設定
|
ExperienceModel |
withDefaultRankCap(Long defaultRankCap)
ランクキャップの初期値を設定
|
ExperienceModel |
withExperienceModelId(String experienceModelId)
経験値の種類マスターを設定
|
ExperienceModel |
withMaxRankCap(Long maxRankCap)
ランクキャップの最大値を設定
|
ExperienceModel |
withMetadata(String metadata)
経験値の種類のメタデータを設定
|
ExperienceModel |
withName(String name)
経験値の種類名を設定
|
ExperienceModel |
withRankThreshold(Threshold rankThreshold)
ランクアップ閾値を設定
|
protected String experienceModelId
protected String name
protected String metadata
protected Long defaultExperience
protected Long defaultRankCap
protected Long maxRankCap
protected Threshold rankThreshold
public String getExperienceModelId()
public void setExperienceModelId(String experienceModelId)
experienceModelId - 経験値の種類マスターpublic ExperienceModel withExperienceModelId(String experienceModelId)
experienceModelId - 経験値の種類マスターpublic String getName()
public void setName(String name)
name - 経験値の種類名public ExperienceModel withName(String name)
name - 経験値の種類名public String getMetadata()
public void setMetadata(String metadata)
metadata - 経験値の種類のメタデータpublic ExperienceModel withMetadata(String metadata)
metadata - 経験値の種類のメタデータpublic Long getDefaultExperience()
public void setDefaultExperience(Long defaultExperience)
defaultExperience - 経験値の初期値public ExperienceModel withDefaultExperience(Long defaultExperience)
defaultExperience - 経験値の初期値public Long getDefaultRankCap()
public void setDefaultRankCap(Long defaultRankCap)
defaultRankCap - ランクキャップの初期値public ExperienceModel withDefaultRankCap(Long defaultRankCap)
defaultRankCap - ランクキャップの初期値public Long getMaxRankCap()
public void setMaxRankCap(Long maxRankCap)
maxRankCap - ランクキャップの最大値public ExperienceModel withMaxRankCap(Long maxRankCap)
maxRankCap - ランクキャップの最大値public Threshold getRankThreshold()
public void setRankThreshold(Threshold rankThreshold)
rankThreshold - ランクアップ閾値public ExperienceModel withRankThreshold(Threshold rankThreshold)
rankThreshold - ランクアップ閾値public com.fasterxml.jackson.databind.node.ObjectNode toJson()
public int compareTo(ExperienceModel o)
compareTo in interface Comparable<ExperienceModel>Copyright © 2016-2019 Game Server Services, Inc. AllRights Reserved.