Package pro.taskana.task.api.models
Interface TaskComment
-
- All Known Implementing Classes:
TaskCommentImpl
public interface TaskCommentTaskComment-Interface to specify TaskComment Attributes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TaskCommentcopy()Duplicates this TaskComment without the id.InstantgetCreated()Gets the time when the task comment was created.StringgetCreator()Gets the name of the task comment-creator.StringgetCreatorFullName()Gets the long name of the task comment creator.StringgetId()Gets the id of the task comment.InstantgetModified()Gets the time when the task comment was last modified.StringgetTaskId()Gets the id of the associated task.StringgetTextField()Gets the text field of the task comment.voidsetTextField(String textField)Sets the text field of the task comment.
-
-
-
Method Detail
-
getId
String getId()
Gets the id of the task comment.- Returns:
- taskId
-
getTaskId
String getTaskId()
Gets the id of the associated task.- Returns:
- taskId
-
getCreator
String getCreator()
Gets the name of the task comment-creator.- Returns:
- creator
-
getCreatorFullName
String getCreatorFullName()
Gets the long name of the task comment creator.- Returns:
- the long Name of the creator
-
getTextField
String getTextField()
Gets the text field of the task comment.- Returns:
- textField
-
setTextField
void setTextField(String textField)
Sets the text field of the task comment.- Parameters:
textField- the text field
-
getCreated
Instant getCreated()
Gets the time when the task comment was created.- Returns:
- the created Instant
-
getModified
Instant getModified()
Gets the time when the task comment was last modified.- Returns:
- the last modified Instant
-
copy
TaskComment copy()
Duplicates this TaskComment without the id.- Returns:
- a copy of this TaskComment
-
-