Package pro.taskana.task.internal.models
Class TaskCommentImpl
- java.lang.Object
-
- pro.taskana.task.internal.models.TaskCommentImpl
-
- All Implemented Interfaces:
TaskComment
public class TaskCommentImpl extends Object implements TaskComment
-
-
Constructor Summary
Constructors Constructor Description TaskCommentImpl()TaskCommentImpl(TaskCommentImpl copyFrom)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)TaskCommentImplcopy()Duplicates this TaskComment without the id.booleanequals(Object obj)InstantgetCreated()Returns the time when the TaskComment was created.StringgetCreator()Returns the id of the creator of the TaskComment.StringgetCreatorFullName()Returns the long name of the creator of the TaskComment.StringgetId()Returns the id of the TaskComment.InstantgetModified()Returns the time when the TaskComment was last modified.StringgetTaskId()Returns the id of the associated Task.StringgetTextField()Returns the content of the TaskComment.inthashCode()voidsetCreated(Instant created)voidsetCreator(String creator)voidsetCreatorFullName(String creatorFullName)voidsetId(String id)voidsetModified(Instant modified)voidsetTaskId(String taskId)voidsetTextField(String textField)Sets the content of the TaskComment.StringtoString()
-
-
-
Constructor Detail
-
TaskCommentImpl
public TaskCommentImpl()
-
TaskCommentImpl
public TaskCommentImpl(TaskCommentImpl copyFrom)
-
-
Method Detail
-
getId
public String getId()
Description copied from interface:TaskCommentReturns the id of the TaskComment.- Specified by:
getIdin interfaceTaskComment- Returns:
- taskId
-
setId
public void setId(String id)
-
getTaskId
public String getTaskId()
Description copied from interface:TaskCommentReturns the id of the associated Task.- Specified by:
getTaskIdin interfaceTaskComment- Returns:
- taskId
-
setTaskId
public void setTaskId(String taskId)
-
getCreator
public String getCreator()
Description copied from interface:TaskCommentReturns the id of the creator of the TaskComment.- Specified by:
getCreatorin interfaceTaskComment- Returns:
- creator
-
setCreator
public void setCreator(String creator)
-
getCreatorFullName
public String 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
public void setCreatorFullName(String creatorFullName)
-
getTextField
public String getTextField()
Description copied from interface:TaskCommentReturns the content of the TaskComment.- Specified by:
getTextFieldin interfaceTaskComment- Returns:
- textField
-
setTextField
public void setTextField(String textField)
Description copied from interface:TaskCommentSets the content of the TaskComment.- Specified by:
setTextFieldin interfaceTaskComment- Parameters:
textField- the textField
-
getCreated
public Instant getCreated()
Description copied from interface:TaskCommentReturns the time when the TaskComment was created.- Specified by:
getCreatedin interfaceTaskComment- Returns:
- the created Instant
-
setCreated
public void setCreated(Instant created)
-
getModified
public Instant getModified()
Description copied from interface:TaskCommentReturns the time when the TaskComment was last modified.- Specified by:
getModifiedin interfaceTaskComment- Returns:
- the last modified Instant
-
setModified
public void setModified(Instant modified)
-
copy
public TaskCommentImpl copy()
Description copied from interface:TaskCommentDuplicates this TaskComment without the id.- Specified by:
copyin interfaceTaskComment- Returns:
- a copy of this TaskComment
-
canEqual
protected boolean canEqual(Object other)
-
-