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 TypeMethodDescriptionboolean
Returns 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()
int
hashCode()
void
setContents
(String contents) void
setCreateDate
(LocalDateTime createDate) void
void
setModifiedDate
(LocalDateTime modifiedDate) void
Sets the owner, the administrator, of this object.void
void
setUrlTitle
(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:Ownage
Sets 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
-