Class CommentInstanceImpl
- java.lang.Object
-
- org.jbpm.casemgmt.impl.model.instance.CommentInstanceImpl
-
- All Implemented Interfaces:
Serializable
,CommentInstance
public class CommentInstanceImpl extends Object implements CommentInstance
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CommentInstanceImpl(String author, String comment, List<String> restrictedTo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAuthor()
Author of the commentString
getComment()
Actual comment testDate
getCreatedAt()
Exact date at which comment was added.String
getId()
Returns unique id assigned to this commentList<String>
getRestrictedTo()
List of case roles given comment is restricted tovoid
setComment(String comment)
void
setRestrictedTo(List<String> restrictedTo)
String
toString()
-
-
-
Method Detail
-
getId
public String getId()
Description copied from interface:CommentInstance
Returns unique id assigned to this comment- Specified by:
getId
in interfaceCommentInstance
- Returns:
- id of the comment
-
getCreatedAt
public Date getCreatedAt()
Description copied from interface:CommentInstance
Exact date at which comment was added.- Specified by:
getCreatedAt
in interfaceCommentInstance
- Returns:
- created at date
-
getAuthor
public String getAuthor()
Description copied from interface:CommentInstance
Author of the comment- Specified by:
getAuthor
in interfaceCommentInstance
- Returns:
- id of the author
-
getComment
public String getComment()
Description copied from interface:CommentInstance
Actual comment test- Specified by:
getComment
in interfaceCommentInstance
- Returns:
- the comment
-
setComment
public void setComment(String comment)
-
getRestrictedTo
public List<String> getRestrictedTo()
Description copied from interface:CommentInstance
List of case roles given comment is restricted to- Specified by:
getRestrictedTo
in interfaceCommentInstance
- Returns:
- restrictions
-
-