Package pro.taskana.task.internal.models
Class TaskCommentImpl
java.lang.Object
pro.taskana.task.internal.models.TaskCommentImpl
- All Implemented Interfaces:
TaskComment
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancopy()Duplicates this TaskComment without the id.booleanReturns 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.inthashCode()voidsetCreated(Instant created) voidsetCreator(String creator) voidsetCreatorFullName(String creatorFullName) voidvoidsetModified(Instant modified) voidvoidsetTextField(String textField) Sets the content of the TaskComment.toString()
-
Constructor Details
-
TaskCommentImpl
public TaskCommentImpl() -
TaskCommentImpl
-
-
Method Details
-
getId
Description copied from interface:TaskCommentReturns the id of the TaskComment.- Specified by:
getIdin interfaceTaskComment- Returns:
- taskId
-
setId
-
getTaskId
Description copied from interface:TaskCommentReturns the id of the associated Task.- Specified by:
getTaskIdin interfaceTaskComment- Returns:
- taskId
-
setTaskId
-
getCreator
Description copied from interface:TaskCommentReturns the id of the creator of the TaskComment.- Specified by:
getCreatorin interfaceTaskComment- Returns:
- creator
-
setCreator
-
getCreatorFullName
Description copied from interface:TaskCommentReturns the long name of the creator of the TaskComment.- Specified by:
getCreatorFullNamein interfaceTaskComment- Returns:
- the long name of the creator
-
setCreatorFullName
-
getTextField
Description copied from interface:TaskCommentReturns the content of the TaskComment.- Specified by:
getTextFieldin interfaceTaskComment- Returns:
- textField
-
setTextField
Description copied from interface:TaskCommentSets the content of the TaskComment.- Specified by:
setTextFieldin interfaceTaskComment- Parameters:
textField- the textField
-
getCreated
Description copied from interface:TaskCommentReturns the time when the TaskComment was created.- Specified by:
getCreatedin interfaceTaskComment- Returns:
- the created Instant
-
setCreated
-
getModified
Description copied from interface:TaskCommentReturns the time when the TaskComment was last modified.- Specified by:
getModifiedin interfaceTaskComment- Returns:
- the last modified Instant
-
setModified
-
copy
Description copied from interface:TaskCommentDuplicates this TaskComment without the id.- Specified by:
copyin interfaceTaskComment- Returns:
- a copy of this TaskComment
-
canEqual
-
hashCode
public int hashCode() -
equals
-
toString
-