blob: a17365a98e109119a3653208b44c127ededbf0aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
package org.zwobble.mammoth.internal.documents;
import java.util.List;
import java.util.Optional;
public class Comment {
private final String commentId;
private final List<DocumentElement> body;
private final Optional<String> authorName;
private final Optional<String> authorInitials;
public Comment(String commentId, List<DocumentElement> body, Optional<String> authorName, Optional<String> authorInitials) {
this.commentId = commentId;
this.body = body;
this.authorName = authorName;
this.authorInitials = authorInitials;
}
public String getCommentId() {
return commentId;
}
public List<DocumentElement> getBody() {
return body;
}
public Optional<String> getAuthorInitials() {
return authorInitials;
}
public Optional<String> getAuthorName() {
return authorName;
}
}
|