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()
CommentInstance
getId
in interface CommentInstance
public Date getCreatedAt()
CommentInstance
getCreatedAt
in interface CommentInstance
public String getAuthor()
CommentInstance
getAuthor
in interface CommentInstance
public String getComment()
CommentInstance
getComment
in interface CommentInstance
public void setComment(String comment)
public List<String> getRestrictedTo()
CommentInstance
getRestrictedTo
in interface CommentInstance
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.