diff --git a/processor/src/main/java/one/nem/lacerta/processor/model/XmlMetaModel.java b/processor/src/main/java/one/nem/lacerta/processor/model/XmlMetaModel.java index 48c8a4b5..60ac1298 100644 --- a/processor/src/main/java/one/nem/lacerta/processor/model/XmlMetaModel.java +++ b/processor/src/main/java/one/nem/lacerta/processor/model/XmlMetaModel.java @@ -8,8 +8,67 @@ public class XmlMetaModel { String title; String author; String description; - Date created; - Date updated; +// Date created; +// Date updated; String defaultBranch; ArrayList pages; + + // Constructor + + public XmlMetaModel() { + } + + public XmlMetaModel(String title, String author, String description, String defaultBranch, ArrayList pages) { + this.title = title; + this.author = author; + this.description = description; + this.defaultBranch = defaultBranch; + this.pages = pages; + } + + + // Getter + + public String getTitle() { + return title; + } + + public String getAuthor() { + return author; + } + + public String getDescription() { + return description; + } + + public String getDefaultBranch() { + return defaultBranch; + } + + public ArrayList getPages() { + return pages; + } + + // Setter + + public void setTitle(String title) { + this.title = title; + } + + public void setAuthor(String author) { + this.author = author; + } + + public void setDescription(String description) { + this.description = description; + } + + public void setDefaultBranch(String defaultBranch) { + this.defaultBranch = defaultBranch; + } + + public void setPages(ArrayList pages) { + this.pages = pages; + } + }