リポジトリのGetter/Setterを追加

This commit is contained in:
r-ca committed 2023-12-16 16:29:23 +09:00
1 parent 12537b3506
commit f0ab914ca5
1 file changed
+13
@@ -76,6 +76,13 @@ public class DocumentDetail {
return defaultBranch; return defaultBranch;
} }
/**
* ドキュメントのリポジトリを取得する
*/
public Repository getRepository() {
return repository;
}
// Setter // Setter
@@ -111,5 +118,11 @@ public class DocumentDetail {
this.defaultBranch = defaultBranch; this.defaultBranch = defaultBranch;
} }
/**
* ドキュメントのリポジトリを設定する
*/
public void setRepository(Repository repository) {
this.repository = repository;
}
} }