Package io.gs2.dictionary.model
Class Entry
java.lang.Object
io.gs2.dictionary.model.Entry
- All Implemented Interfaces:
IModel,Serializable,Comparable<Entry>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic EntryfromJson(com.fasterxml.jackson.databind.JsonNode data) getName()inthashCode()voidsetAcquiredAt(Long acquiredAt) voidsetEntryId(String entryId) voidvoidsetRevision(Long revision) voidcom.fasterxml.jackson.databind.JsonNodetoJson()withAcquiredAt(Long acquiredAt) withEntryId(String entryId) withRevision(Long revision) withUserId(String userId)
-
Constructor Details
-
Entry
public Entry()
-
-
Method Details
-
getEntryId
-
setEntryId
-
withEntryId
-
getUserId
-
setUserId
-
withUserId
-
getName
-
setName
-
withName
-
getAcquiredAt
-
setAcquiredAt
-
withAcquiredAt
-
getRevision
-
setRevision
-
withRevision
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson() -
compareTo
- Specified by:
compareToin interfaceComparable<Entry>
-
hashCode
public int hashCode() -
equals
-