From 14fbb56dcdcd8137aea1d31585a7ab47362cef61 Mon Sep 17 00:00:00 2001 From: r-ca Date: Sun, 14 Jan 2024 16:06:36 +0900 Subject: [PATCH] =?UTF-8?q?Setter=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/DocumentMeta.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/model/src/main/java/one/nem/lacerta/model/document/DocumentMeta.java b/model/src/main/java/one/nem/lacerta/model/document/DocumentMeta.java index d00850b2..606e7044 100644 --- a/model/src/main/java/one/nem/lacerta/model/document/DocumentMeta.java +++ b/model/src/main/java/one/nem/lacerta/model/document/DocumentMeta.java @@ -175,6 +175,22 @@ public class DocumentMeta { this.tags = tags; } + /** + * PublicPathを設定する + * @param path PublicPath + */ + public void setPath(PublicPath path) { + this.path = path; + } + + /** + * ドキュメントの作者(String)を設定する + * @param author ドキュメントの作者 + */ + public void setAuthor(String author) { + this.author = author; + } + /** * updatedAtを現在時刻に設定する */