package org.zwobble.mammoth.internal.documents; import java.util.List; import java.util.Optional; public class Comment { private final String commentId; private final List body; private final Optional authorName; private final Optional authorInitials; public Comment(String commentId, List body, Optional authorName, Optional authorInitials) { this.commentId = commentId; this.body = body; this.authorName = authorName; this.authorInitials = authorInitials; } public String getCommentId() { return commentId; } public List getBody() { return body; } public Optional getAuthorInitials() { return authorInitials; } public Optional getAuthorName() { return authorName; } }