Class CommentDto
- java.lang.Object
-
- org.camunda.bpm.engine.rest.dto.LinkableDto
-
- org.camunda.bpm.engine.rest.dto.task.CommentDto
-
public class CommentDto extends LinkableDto
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
id
protected java.lang.String
message
protected java.lang.String
processInstanceId
protected java.util.Date
removalTime
protected java.lang.String
rootProcessInstanceId
protected java.lang.String
taskId
protected java.util.Date
time
protected java.lang.String
userId
-
Fields inherited from class org.camunda.bpm.engine.rest.dto.LinkableDto
links
-
-
Constructor Summary
Constructors Constructor Description CommentDto()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CommentDto
fromComment(Comment comment)
java.lang.String
getId()
java.lang.String
getMessage()
java.lang.String
getProcessInstanceId()
java.util.Date
getRemovalTime()
java.lang.String
getRootProcessInstanceId()
java.lang.String
getTaskId()
java.util.Date
getTime()
java.lang.String
getUserId()
void
setMessage(java.lang.String message)
void
setProcessInstanceId(java.lang.String processInstanceId)
void
setRemovalTime(java.util.Date removalDate)
void
setRootProcessInstanceId(java.lang.String rootProcessInstanceId)
void
setTaskId(java.lang.String taskId)
void
setTime(java.util.Date time)
void
setUserId(java.lang.String userId)
-
Methods inherited from class org.camunda.bpm.engine.rest.dto.LinkableDto
addLink, addReflexiveLink, generateLink, getLinks
-
-
-
-
Field Detail
-
id
protected java.lang.String id
-
userId
protected java.lang.String userId
-
time
protected java.util.Date time
-
taskId
protected java.lang.String taskId
-
message
protected java.lang.String message
-
removalTime
protected java.util.Date removalTime
-
rootProcessInstanceId
protected java.lang.String rootProcessInstanceId
-
processInstanceId
protected java.lang.String processInstanceId
-
-
Method Detail
-
getId
public java.lang.String getId()
-
getUserId
public java.lang.String getUserId()
-
setUserId
public void setUserId(java.lang.String userId)
-
getTime
public java.util.Date getTime()
-
setTime
public void setTime(java.util.Date time)
-
getTaskId
public java.lang.String getTaskId()
-
setTaskId
public void setTaskId(java.lang.String taskId)
-
getMessage
public java.lang.String getMessage()
-
setMessage
public void setMessage(java.lang.String message)
-
getRemovalTime
public java.util.Date getRemovalTime()
-
setRemovalTime
public void setRemovalTime(java.util.Date removalDate)
-
getRootProcessInstanceId
public java.lang.String getRootProcessInstanceId()
-
setRootProcessInstanceId
public void setRootProcessInstanceId(java.lang.String rootProcessInstanceId)
-
getProcessInstanceId
public java.lang.String getProcessInstanceId()
-
setProcessInstanceId
public void setProcessInstanceId(java.lang.String processInstanceId)
-
fromComment
public static CommentDto fromComment(Comment comment)
-
-