From a07cddd98e2fdad40d2226818b04be1787abc6cf Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 14 Feb 2016 14:27:47 +0000 Subject: Add notes to document --- src/main/java/org/zwobble/mammoth/documents/Note.java | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/main/java/org/zwobble/mammoth/documents/Note.java') diff --git a/src/main/java/org/zwobble/mammoth/documents/Note.java b/src/main/java/org/zwobble/mammoth/documents/Note.java index 1a0d3c0..da6f68f 100644 --- a/src/main/java/org/zwobble/mammoth/documents/Note.java +++ b/src/main/java/org/zwobble/mammoth/documents/Note.java @@ -3,11 +3,21 @@ package org.zwobble.mammoth.documents; import java.util.List; public class Note { + private final NoteType noteType; private final String id; private final List body; - public Note(String id, List body) { + public Note(NoteType noteType, String id, List body) { + this.noteType = noteType; this.id = id; this.body = body; } + + public NoteType getNoteType() { + return noteType; + } + + public String getId() { + return id; + } } -- cgit v1.2.3