From 4615418e3878be8e842e658aaf1df56654d4d288 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Mon, 11 Dec 2023 10:06:48 +0900 Subject: [PATCH] WIP --- .../nem/lacerta/data/model/documents/DocumentDetail.java | 1 + .../data/model/documents/{Meta.java => DocumentMeta.java} | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) rename data/src/main/java/one/nem/lacerta/data/model/documents/{Meta.java => DocumentMeta.java} (92%) diff --git a/data/src/main/java/one/nem/lacerta/data/model/documents/DocumentDetail.java b/data/src/main/java/one/nem/lacerta/data/model/documents/DocumentDetail.java index b9149021..4cd3e1ec 100644 --- a/data/src/main/java/one/nem/lacerta/data/model/documents/DocumentDetail.java +++ b/data/src/main/java/one/nem/lacerta/data/model/documents/DocumentDetail.java @@ -3,4 +3,5 @@ package one.nem.lacerta.data.model.documents; public class DocumentDetail { // ドキュメントの詳細情報 + private DocumentMeta documentMeta; } diff --git a/data/src/main/java/one/nem/lacerta/data/model/documents/Meta.java b/data/src/main/java/one/nem/lacerta/data/model/documents/DocumentMeta.java similarity index 92% rename from data/src/main/java/one/nem/lacerta/data/model/documents/Meta.java rename to data/src/main/java/one/nem/lacerta/data/model/documents/DocumentMeta.java index 34b4c36c..4854ec3f 100644 --- a/data/src/main/java/one/nem/lacerta/data/model/documents/Meta.java +++ b/data/src/main/java/one/nem/lacerta/data/model/documents/DocumentMeta.java @@ -1,7 +1,7 @@ package one.nem.lacerta.data.model.documents; import one.nem.lacerta.data.model.documents.enums.DocumentType; -public class Meta { +public class DocumentMeta { // ドキュメントのメタ情報 public String id; // ドキュメントの内部ID(UUIDv4?) public String name; // ドキュメントの名前 @@ -10,7 +10,7 @@ public class Meta { public String[] tags; // ドキュメントのタグ public String[] categories; // ドキュメントのカテゴリ - public Meta(String id, String name, String description, DocumentType type, String[] tags, String[] categories) { + public DocumentMeta(String id, String name, String description, DocumentType type, String[] tags, String[] categories) { this.id = id; this.name = name; this.description = description; @@ -19,7 +19,7 @@ public class Meta { this.categories = categories; } - public Meta() { + public DocumentMeta() { this.id = ""; this.name = ""; this.description = "";