Class TaskCommentImpl

java.lang.Object
pro.taskana.task.internal.models.TaskCommentImpl
All Implemented Interfaces:
TaskComment

public class TaskCommentImpl extends Object implements TaskComment
  • Constructor Details

    • TaskCommentImpl

      public TaskCommentImpl()
    • TaskCommentImpl

      public TaskCommentImpl(TaskCommentImpl copyFrom)
  • Method Details

    • getId

      public String getId()
      Description copied from interface: TaskComment
      Returns the id of the TaskComment.
      Specified by:
      getId in interface TaskComment
      Returns:
      taskId
    • setId

      public void setId(String id)
    • getTaskId

      public String getTaskId()
      Description copied from interface: TaskComment
      Returns the id of the associated Task.
      Specified by:
      getTaskId in interface TaskComment
      Returns:
      taskId
    • setTaskId

      public void setTaskId(String taskId)
    • getCreator

      public String getCreator()
      Description copied from interface: TaskComment
      Returns the id of the creator of the TaskComment.
      Specified by:
      getCreator in interface TaskComment
      Returns:
      creator
    • setCreator

      public void setCreator(String creator)
    • getCreatorFullName

      public String getCreatorFullName()
      Description copied from interface: TaskComment
      Returns the long name of the creator of the TaskComment.
      Specified by:
      getCreatorFullName in interface TaskComment
      Returns:
      the long name of the creator
    • setCreatorFullName

      public void setCreatorFullName(String creatorFullName)
    • getTextField

      public String getTextField()
      Description copied from interface: TaskComment
      Returns the content of the TaskComment.
      Specified by:
      getTextField in interface TaskComment
      Returns:
      textField
    • setTextField

      public void setTextField(String textField)
      Description copied from interface: TaskComment
      Sets the content of the TaskComment.
      Specified by:
      setTextField in interface TaskComment
      Parameters:
      textField - the textField
    • getCreated

      public Instant getCreated()
      Description copied from interface: TaskComment
      Returns the time when the TaskComment was created.
      Specified by:
      getCreated in interface TaskComment
      Returns:
      the created Instant
    • setCreated

      public void setCreated(Instant created)
    • getModified

      public Instant getModified()
      Description copied from interface: TaskComment
      Returns the time when the TaskComment was last modified.
      Specified by:
      getModified in interface TaskComment
      Returns:
      the last modified Instant
    • setModified

      public void setModified(Instant modified)
    • copy

      public TaskCommentImpl copy()
      Description copied from interface: TaskComment
      Duplicates this TaskComment without the id.
      Specified by:
      copy in interface TaskComment
      Returns:
      a copy of this TaskComment
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object