diff --git a/model/src/main/java/one/nem/lacerta/model/document/internal/XmlMetaModel.java b/model/src/main/java/one/nem/lacerta/model/document/internal/XmlMetaModel.java index a4dff2e2..55ae05d7 100644 --- a/model/src/main/java/one/nem/lacerta/model/document/internal/XmlMetaModel.java +++ b/model/src/main/java/one/nem/lacerta/model/document/internal/XmlMetaModel.java @@ -4,12 +4,8 @@ import java.util.ArrayList; public class XmlMetaModel { - String title; - String author; - String description; -// Date created; -// Date updated; - String defaultBranch; + String revisionId; + ArrayList pages; // Constructor @@ -17,31 +13,15 @@ public class XmlMetaModel { 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; + public XmlMetaModel(String revisionId, ArrayList pages) { + this.revisionId = revisionId; 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 String getRevisionId() { + return revisionId; } public ArrayList getPages() { @@ -50,24 +30,11 @@ public class XmlMetaModel { // 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 setRevisionId(String revisionId) { + this.revisionId = revisionId; } public void setPages(ArrayList pages) { this.pages = pages; } - }