Class Reply
java.lang.Object
com.serinity.forumcontrol.model.Reply
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanintlonggetId()longinthashCode()booleanisNested()booleanvoidremoveChild(Reply child) voidsetChildren(List<Reply> children) voidsetContent(String content) voidsetCreatedAt(Timestamp createdAt) voidsetId(long id) voidvoidsetParentId(Long parentId) voidvoidsetThreadId(long threadId) voidsetUpdatedAt(Timestamp updatedAt) voidtoString()
-
Constructor Details
-
Reply
public Reply() -
Reply
-
Reply
-
-
Method Details
-
getId
public long getId() -
setId
public void setId(long id) -
getThreadId
public long getThreadId() -
setThreadId
public void setThreadId(long threadId) -
getUserId
-
setUserId
-
getParentId
-
setParentId
-
getContent
-
setContent
-
getCreatedAt
-
setCreatedAt
-
getUpdatedAt
-
setUpdatedAt
-
getThread
-
setThread
-
getParent
-
setParent
-
getChildren
-
setChildren
-
addChild
-
removeChild
-
isTopLevel
public boolean isTopLevel() -
isNested
public boolean isNested() -
getThreadTitle
-
getChildCount
public int getChildCount() -
toString
-
equals
-
hashCode
-