Class ChangesetDiscussionComment

java.lang.Object
org.openstreetmap.josm.data.osm.ChangesetDiscussionComment

public class ChangesetDiscussionComment extends Object
A comment in a public changeset discussion.
Since:
7704
  • Field Details

    • date

      private final Instant date
      date this comment was posted at
    • user

      private final User user
      the user who posted the comment
    • text

      private String text
      comment text
  • Constructor Details

    • ChangesetDiscussionComment

      Constructs a new ChangesetDiscussionComment.
      Parameters:
      date - date this comment was posted at
      user - the user who posted the comment
  • Method Details

    • getText

      public final String getText()
      Replies comment text.
      Returns:
      comment text
    • setText

      public final void setText(String text)
      Sets comment text.
      Parameters:
      text - comment text
    • getDate

      public final Instant getDate()
      Replies date this comment was posted at.
      Returns:
      date this comment was posted at
    • getUser

      public final User getUser()
      Replies the user who posted the comment.
      Returns:
      the user who posted the comment
    • toString

      public String toString()
      Overrides:
      toString in class Object