summaryrefslogtreecommitdiff
path: root/src/main/java/org/zwobble/mammoth/internal/documents/Note.java
blob: d7d741ba17b692486e38bef839b1dd62440d81db (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
package org.zwobble.mammoth.internal.documents;

import java.util.List;

public class Note {
    private final NoteType noteType;
    private final String id;
    private final List<DocumentElement> body;

    public Note(NoteType noteType, String id, List<DocumentElement> body) {
        this.noteType = noteType;
        this.id = id;
        this.body = body;
    }

    public NoteType getNoteType() {
        return noteType;
    }

    public String getId() {
        return id;
    }

    public List<DocumentElement> getBody() {
        return body;
    }
}