Package io.gs2.stamina.model
Class Stamina
java.lang.Object
io.gs2.stamina.model.Stamina
- All Implemented Interfaces:
IModel,Serializable,Comparable<Stamina>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic StaminafromJson(com.fasterxml.jackson.databind.JsonNode data) getValue()inthashCode()voidsetCreatedAt(Long createdAt) voidsetLastRecoveredAt(Long lastRecoveredAt) voidsetMaxValue(Integer maxValue) voidsetNextRecoverAt(Long nextRecoverAt) voidsetOverflowValue(Integer overflowValue) voidsetRecoverIntervalMinutes(Integer recoverIntervalMinutes) voidsetRecoverValue(Integer recoverValue) voidsetRevision(Long revision) voidsetStaminaId(String staminaId) voidsetStaminaName(String staminaName) voidsetUpdatedAt(Long updatedAt) voidvoidcom.fasterxml.jackson.databind.JsonNodetoJson()withCreatedAt(Long createdAt) withLastRecoveredAt(Long lastRecoveredAt) withMaxValue(Integer maxValue) withNextRecoverAt(Long nextRecoverAt) withOverflowValue(Integer overflowValue) withRecoverIntervalMinutes(Integer recoverIntervalMinutes) withRecoverValue(Integer recoverValue) withRevision(Long revision) withStaminaId(String staminaId) withStaminaName(String staminaName) withUpdatedAt(Long updatedAt) withUserId(String userId)
-
Constructor Details
-
Stamina
public Stamina()
-
-
Method Details
-
getStaminaId
-
setStaminaId
-
withStaminaId
-
getStaminaName
-
setStaminaName
-
withStaminaName
-
getUserId
-
setUserId
-
withUserId
-
getValue
-
setValue
-
withValue
-
getMaxValue
-
setMaxValue
-
withMaxValue
-
getRecoverIntervalMinutes
-
setRecoverIntervalMinutes
-
withRecoverIntervalMinutes
-
getRecoverValue
-
setRecoverValue
-
withRecoverValue
-
getOverflowValue
-
setOverflowValue
-
withOverflowValue
-
getNextRecoverAt
-
setNextRecoverAt
-
withNextRecoverAt
-
getLastRecoveredAt
-
setLastRecoveredAt
-
withLastRecoveredAt
-
getCreatedAt
-
setCreatedAt
-
withCreatedAt
-
getUpdatedAt
-
setUpdatedAt
-
withUpdatedAt
-
getRevision
-
setRevision
-
withRevision
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson() -
compareTo
- Specified by:
compareToin interfaceComparable<Stamina>
-
hashCode
public int hashCode() -
equals
-