From f0ab914ca509be44b62e2d3081c634598f3f9868 Mon Sep 17 00:00:00 2001 From: r-ca Date: Sat, 16 Dec 2023 16:29:23 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=AA=E3=83=9D=E3=82=B8=E3=83=88=E3=83=AA?= =?UTF-8?q?=E3=81=AEGetter/Setter=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nem/lacerta/model/document/DocumentDetail.java | 13 +++++++++++++ 1 file changed, 13 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 5b9ed3ff..13559491 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 @@ -76,6 +76,13 @@ public class DocumentDetail { return defaultBranch; } + /** + * ドキュメントのリポジトリを取得する + */ + public Repository getRepository() { + return repository; + } + // Setter @@ -111,5 +118,11 @@ public class DocumentDetail { this.defaultBranch = defaultBranch; } + /** + * ドキュメントのリポジトリを設定する + */ + public void setRepository(Repository repository) { + this.repository = repository; + } }