Package io.gs2.mission.model
Class Counter
java.lang.Object
io.gs2.mission.model.Counter
- All Implemented Interfaces:
IModel,Serializable,Comparable<Counter>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic CounterfromJson(com.fasterxml.jackson.databind.JsonNode data) getName()inthashCode()voidsetCounterId(String counterId) voidsetCreatedAt(Long createdAt) voidvoidsetRevision(Long revision) voidsetUpdatedAt(Long updatedAt) voidvoidsetValues(List<ScopedValue> values) com.fasterxml.jackson.databind.JsonNodetoJson()withCounterId(String counterId) withCreatedAt(Long createdAt) withRevision(Long revision) withUpdatedAt(Long updatedAt) withUserId(String userId) withValues(List<ScopedValue> values)
-
Constructor Details
-
Counter
public Counter()
-
-
Method Details
-
getCounterId
-
setCounterId
-
withCounterId
-
getUserId
-
setUserId
-
withUserId
-
getName
-
setName
-
withName
-
getValues
-
setValues
-
withValues
-
getCreatedAt
-
setCreatedAt
-
withCreatedAt
-
getUpdatedAt
-
setUpdatedAt
-
withUpdatedAt
-
getRevision
-
setRevision
-
withRevision
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson() -
compareTo
- Specified by:
compareToin interfaceComparable<Counter>
-
hashCode
public int hashCode() -
equals
-