From 5ff6ac32ba5855dca76a6dd4089abc667433976e Mon Sep 17 00:00:00 2001 From: r-ca Date: Mon, 25 Dec 2023 14:25:22 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=B3=E3=83=B3=E3=82=B9=E3=83=88=E3=83=A9?= =?UTF-8?q?=E3=82=AF=E3=82=BF,=20Getter,=20Setter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lacerta/processor/model/XmlMetaModel.java | 63 ++++++++++++++++++- 1 file changed, 61 insertions(+), 2 deletions(-) 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; + } + }