Package io.gs2.news.model
Class News
java.lang.Object
io.gs2.news.model.News
- All Implemented Interfaces:
IModel,Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic NewsfromJson(com.fasterxml.jackson.databind.JsonNode data) getTitle()inthashCode()voidsetContent(String content) voidsetFrontMatter(String frontMatter) voidsetScheduleEventId(String scheduleEventId) voidsetSection(String section) voidsetTimestamp(Long timestamp) voidcom.fasterxml.jackson.databind.JsonNodetoJson()withContent(String content) withFrontMatter(String frontMatter) withScheduleEventId(String scheduleEventId) withSection(String section) withTimestamp(Long timestamp)
-
Constructor Details
-
News
public News()
-
-
Method Details
-
getSection
-
setSection
-
withSection
-
getContent
-
setContent
-
withContent
-
getTitle
-
setTitle
-
withTitle
-
getScheduleEventId
-
setScheduleEventId
-
withScheduleEventId
-
getTimestamp
-
setTimestamp
-
withTimestamp
-
getFrontMatter
-
setFrontMatter
-
withFrontMatter
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson() -
hashCode
public int hashCode() -
equals
-