Package io.gs2.dictionary.model
Class Toc
java.lang.Object
io.gs2.dictionary.model.Toc
- All Implemented Interfaces:
IModel,Serializable,Comparable<Toc>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic TocfromJson(com.fasterxml.jackson.databind.JsonNode data) getIndex()getTocId()inthashCode()voidsetCreatedAt(Long createdAt) voidsetEntries(List<Entry> entries) voidvoidvoidsetUpdatedAt(Long updatedAt) voidcom.fasterxml.jackson.databind.JsonNodetoJson()withCreatedAt(Long createdAt) withEntries(List<Entry> entries) withUpdatedAt(Long updatedAt) withUserId(String userId)
-
Constructor Details
-
Toc
public Toc()
-
-
Method Details
-
getTocId
-
setTocId
-
withTocId
-
getUserId
-
setUserId
-
withUserId
-
getIndex
-
setIndex
-
withIndex
-
getEntries
-
setEntries
-
withEntries
-
getCreatedAt
-
setCreatedAt
-
withCreatedAt
-
getUpdatedAt
-
setUpdatedAt
-
withUpdatedAt
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson() -
compareTo
- Specified by:
compareToin interfaceComparable<Toc>
-
hashCode
public int hashCode() -
equals
-