public class CommentInstanceImpl extends Object implements CommentInstance
| Constructor and Description |
|---|
CommentInstanceImpl(String author,
String comment,
List<String> restrictedTo) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthor()
Author of the comment
|
String |
getComment()
Actual comment test
|
Date |
getCreatedAt()
Exact date at which comment was added.
|
String |
getId()
Returns unique id assigned to this comment
|
List<String> |
getRestrictedTo()
List of case roles given comment is restricted to
|
void |
setComment(String comment) |
void |
setRestrictedTo(List<String> restrictedTo) |
String |
toString() |
public String getId()
CommentInstancegetId in interface CommentInstancepublic Date getCreatedAt()
CommentInstancegetCreatedAt in interface CommentInstancepublic String getAuthor()
CommentInstancegetAuthor in interface CommentInstancepublic String getComment()
CommentInstancegetComment in interface CommentInstancepublic void setComment(String comment)
public List<String> getRestrictedTo()
CommentInstancegetRestrictedTo in interface CommentInstanceCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.