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()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.inthashCode()voidsetCreated(Instant created)voidsetCreator(String creator)voidsetCreatorFullName(String creatorFullName)voidsetId(String id)voidsetModified(Instant modified)voidsetTaskId(String taskId)voidsetTextField(String textField)Sets the text field of the task comment.StringtoString()
-
-
-
Constructor Detail
-
TaskCommentImpl
public TaskCommentImpl()
-
TaskCommentImpl
public TaskCommentImpl(TaskCommentImpl copyFrom)
-
-
Method Detail
-
getId
public String getId()
Description copied from interface:TaskCommentGets the id of the task comment.- Specified by:
getIdin interfaceTaskComment- Returns:
- taskId
-
setId
public void setId(String id)
-
getTaskId
public String getTaskId()
Description copied from interface:TaskCommentGets 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:TaskCommentGets the name of the task comment-creator.- Specified by:
getCreatorin interfaceTaskComment- Returns:
- creator
-
setCreator
public void setCreator(String creator)
-
getCreatorFullName
public String getCreatorFullName()
Description copied from interface:TaskCommentGets the long name of the task comment creator.- 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:TaskCommentGets the text field of the task comment.- Specified by:
getTextFieldin interfaceTaskComment- Returns:
- textField
-
setTextField
public void setTextField(String textField)
Description copied from interface:TaskCommentSets the text field of the task comment.- Specified by:
setTextFieldin interfaceTaskComment- Parameters:
textField- the text field
-
getCreated
public Instant getCreated()
Description copied from interface:TaskCommentGets the time when the task comment was created.- Specified by:
getCreatedin interfaceTaskComment- Returns:
- the created Instant
-
setCreated
public void setCreated(Instant created)
-
getModified
public Instant getModified()
Description copied from interface:TaskCommentGets the time when the task comment 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)
-
-