From 6f962feef73ee54baf84afd156ee8fa2311aae8f Mon Sep 17 00:00:00 2001 From: r-ca Date: Thu, 14 Dec 2023 04:33:23 +0900 Subject: [PATCH] Getter/Setter --- .../model/document/DocumentDetail.java | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/model/src/main/java/one/nem/lacerta/model/document/DocumentDetail.java b/model/src/main/java/one/nem/lacerta/model/document/DocumentDetail.java index e7cdacdc..30d3526e 100644 --- a/model/src/main/java/one/nem/lacerta/model/document/DocumentDetail.java +++ b/model/src/main/java/one/nem/lacerta/model/document/DocumentDetail.java @@ -14,5 +14,48 @@ public class DocumentDetail { String defaultBranch; Path fullPath; + // Getter + + public DocumentMeta getMeta() { + return meta; + } + + public DocumentPath getPath() { + return path; + } + + public String getAuthor() { + return author; + } + + public String getDefaultBranch() { + return defaultBranch; + } + + public Path getFullPath() { + return fullPath; + } + + // Setter + + public void setMeta(DocumentMeta meta) { + this.meta = meta; + } + + public void setPath(DocumentPath path) { + this.path = path; + } + + public void setAuthor(String author) { + this.author = author; + } + + public void setDefaultBranch(String defaultBranch) { + this.defaultBranch = defaultBranch; + } + + public void setFullPath(Path fullPath) { + this.fullPath = fullPath; + } }