Package io.gs2.stamina.model
Class StaminaModel
java.lang.Object
io.gs2.stamina.model.StaminaModel
- All Implemented Interfaces:
IModel,Serializable,Comparable<StaminaModel>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic StaminaModelfromJson(com.fasterxml.jackson.databind.JsonNode data) getName()inthashCode()voidsetInitialCapacity(Integer initialCapacity) voidsetIsOverflow(Boolean isOverflow) voidsetMaxCapacity(Integer maxCapacity) voidsetMaxStaminaTable(MaxStaminaTable maxStaminaTable) voidsetMetadata(String metadata) voidvoidsetRecoverIntervalMinutes(Integer recoverIntervalMinutes) voidsetRecoverIntervalTable(RecoverIntervalTable recoverIntervalTable) voidsetRecoverValue(Integer recoverValue) voidsetRecoverValueTable(RecoverValueTable recoverValueTable) voidsetStaminaModelId(String staminaModelId) com.fasterxml.jackson.databind.JsonNodetoJson()withInitialCapacity(Integer initialCapacity) withIsOverflow(Boolean isOverflow) withMaxCapacity(Integer maxCapacity) withMaxStaminaTable(MaxStaminaTable maxStaminaTable) withMetadata(String metadata) withRecoverIntervalMinutes(Integer recoverIntervalMinutes) withRecoverIntervalTable(RecoverIntervalTable recoverIntervalTable) withRecoverValue(Integer recoverValue) withRecoverValueTable(RecoverValueTable recoverValueTable) withStaminaModelId(String staminaModelId)
-
Constructor Details
-
StaminaModel
public StaminaModel()
-
-
Method Details
-
getStaminaModelId
-
setStaminaModelId
-
withStaminaModelId
-
getName
-
setName
-
withName
-
getMetadata
-
setMetadata
-
withMetadata
-
getRecoverIntervalMinutes
-
setRecoverIntervalMinutes
-
withRecoverIntervalMinutes
-
getRecoverValue
-
setRecoverValue
-
withRecoverValue
-
getInitialCapacity
-
setInitialCapacity
-
withInitialCapacity
-
getIsOverflow
-
setIsOverflow
-
withIsOverflow
-
getMaxCapacity
-
setMaxCapacity
-
withMaxCapacity
-
getMaxStaminaTable
-
setMaxStaminaTable
-
withMaxStaminaTable
-
getRecoverIntervalTable
-
setRecoverIntervalTable
-
withRecoverIntervalTable
-
getRecoverValueTable
-
setRecoverValueTable
-
withRecoverValueTable
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson() -
compareTo
- Specified by:
compareToin interfaceComparable<StaminaModel>
-
hashCode
public int hashCode() -
equals
-