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