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