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 StringgetAuthor()Author of the commentStringgetComment()Actual comment testDategetCreatedAt()Exact date at which comment was added.StringgetId()Returns unique id assigned to this commentList<String>getRestrictedTo()List of case roles given comment is restricted tovoidsetComment(String comment)voidsetRestrictedTo(List<String> restrictedTo)StringtoString()
-
-
-
Method Detail
-
getId
public String getId()
Description copied from interface:CommentInstanceReturns unique id assigned to this comment- Specified by:
getIdin interfaceCommentInstance- Returns:
- id of the comment
-
getCreatedAt
public Date getCreatedAt()
Description copied from interface:CommentInstanceExact date at which comment was added.- Specified by:
getCreatedAtin interfaceCommentInstance- Returns:
- created at date
-
getAuthor
public String getAuthor()
Description copied from interface:CommentInstanceAuthor of the comment- Specified by:
getAuthorin interfaceCommentInstance- Returns:
- id of the author
-
getComment
public String getComment()
Description copied from interface:CommentInstanceActual comment test- Specified by:
getCommentin interfaceCommentInstance- Returns:
- the comment
-
setComment
public void setComment(String comment)
-
getRestrictedTo
public List<String> getRestrictedTo()
Description copied from interface:CommentInstanceList of case roles given comment is restricted to- Specified by:
getRestrictedToin interfaceCommentInstance- Returns:
- restrictions
-
-