Package pro.taskana.task.api.models
Interface TaskComment
- All Known Implementing Classes:
TaskCommentImpl
public interface TaskComment
TaskComment-Interface to specify attributes of the TaskComment.
-
Method Summary
Modifier and TypeMethodDescriptioncopy()Duplicates this TaskComment without the id.Returns the time when the TaskComment was created.Returns the id of the creator of the TaskComment.Returns the long name of the creator of the TaskComment.getId()Returns the id of the TaskComment.Returns the time when the TaskComment was last modified.Returns the id of the associated Task.Returns the content of the TaskComment.voidsetTextField(String textField) Sets the content of the TaskComment.
-
Method Details
-
getId
String getId()Returns the id of the TaskComment.- Returns:
- taskId
-
getTaskId
String getTaskId()Returns the id of the associated Task.- Returns:
- taskId
-
getCreator
String getCreator()Returns the id of the creator of the TaskComment.- Returns:
- creator
-
getCreatorFullName
String getCreatorFullName()Returns the long name of the creator of the TaskComment.- Returns:
- the long name of the creator
-
getTextField
String getTextField()Returns the content of the TaskComment.- Returns:
- textField
-
setTextField
Sets the content of the TaskComment.- Parameters:
textField- the textField
-
getCreated
Instant getCreated()Returns the time when the TaskComment was created.- Returns:
- the created Instant
-
getModified
Instant getModified()Returns the time when the TaskComment was last modified.- Returns:
- the last modified Instant
-
copy
TaskComment copy()Duplicates this TaskComment without the id.- Returns:
- a copy of this TaskComment
-