Class Blog
Object
Blog
- All Implemented Interfaces:
Serializable,Ownage
A blog from one of the administrators of the game. Will be visible on the
central page.
- Author:
- maartenl
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBlog()Blog(Long id, LocalDateTime createDate, LocalDateTime modifiedDate, String title, String urlTitle, String content) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns HTML content, to be more specific, it capitalizes the first letter of the blogpost into a pretty image.getId()getName()The name of the owner of this blog post.getOwner()Retrieves the owner, the administrator, of this object.getTitle()inthashCode()voidsetContents(String contents) voidsetCreateDate(LocalDateTime createDate) voidvoidsetModifiedDate(LocalDateTime modifiedDate) voidSets the owner, the administrator, of this object.voidvoidsetUrlTitle(String urlTitle) toString()
-
Constructor Details
-
Blog
public Blog() -
Blog
-
Blog
public Blog(Long id, LocalDateTime createDate, LocalDateTime modifiedDate, String title, String urlTitle, String content)
-
-
Method Details
-
getId
-
setId
-
getCreateDate
-
setCreateDate
-
getModifiedDate
-
setModifiedDate
-
getTitle
-
setTitle
-
getUrlTitle
-
setUrlTitle
-
getContents
-
setContents
-
getOwner
-
setOwner
Description copied from interface:OwnageSets the owner, the administrator, of this object. -
getName
-
hashCode
-
equals
-
toString
-
getContent
-
getHtmlContent
Returns HTML content, to be more specific, it capitalizes the first letter of the blogpost into a pretty image.- Returns:
- capitalized blogpost
-