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 String
id
protected String
message
protected String
processInstanceId
protected Date
removalTime
protected String
rootProcessInstanceId
protected String
taskId
protected Date
time
protected 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)
String
getId()
String
getMessage()
String
getProcessInstanceId()
Date
getRemovalTime()
String
getRootProcessInstanceId()
String
getTaskId()
Date
getTime()
String
getUserId()
void
setMessage(String message)
void
setProcessInstanceId(String processInstanceId)
void
setRemovalTime(Date removalDate)
void
setRootProcessInstanceId(String rootProcessInstanceId)
void
setTaskId(String taskId)
void
setTime(Date time)
void
setUserId(String userId)
-
Methods inherited from class org.camunda.bpm.engine.rest.dto.LinkableDto
addLink, addReflexiveLink, generateLink, getLinks
-
-
-
-
Field Detail
-
id
protected String id
-
userId
protected String userId
-
time
protected Date time
-
taskId
protected String taskId
-
message
protected String message
-
removalTime
protected Date removalTime
-
rootProcessInstanceId
protected String rootProcessInstanceId
-
processInstanceId
protected String processInstanceId
-
-
Method Detail
-
getId
public String getId()
-
getUserId
public String getUserId()
-
setUserId
public void setUserId(String userId)
-
getTime
public Date getTime()
-
setTime
public void setTime(Date time)
-
getTaskId
public String getTaskId()
-
setTaskId
public void setTaskId(String taskId)
-
getMessage
public String getMessage()
-
setMessage
public void setMessage(String message)
-
getRemovalTime
public Date getRemovalTime()
-
setRemovalTime
public void setRemovalTime(Date removalDate)
-
getRootProcessInstanceId
public String getRootProcessInstanceId()
-
setRootProcessInstanceId
public void setRootProcessInstanceId(String rootProcessInstanceId)
-
getProcessInstanceId
public String getProcessInstanceId()
-
setProcessInstanceId
public void setProcessInstanceId(String processInstanceId)
-
fromComment
public static CommentDto fromComment(Comment comment)
-
-