From bacab14be6e7392fb49305e60d0dd487481bbaa1 Mon Sep 17 00:00:00 2001 From: r-ca Date: Thu, 14 Dec 2023 04:33:20 +0900 Subject: [PATCH] Getter/Setter --- .../lacerta/model/document/DocumentMeta.java | 44 ++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) 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 837e5d28..5874b9c6 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 @@ -12,5 +12,47 @@ public class DocumentMeta { Date createdAt; ArrayList tags; - // TODO-rca: Getter, Setter + // Getter + + public String getId() { + return id; + } + + public String getTitle() { + return title; + } + + public Date getUpdatedAt() { + return updatedAt; + } + + public Date getCreatedAt() { + return createdAt; + } + + public ArrayList getTags() { + return tags; + } + + // Setter + + public void setId(String id) { + this.id = id; + } + + public void setTitle(String title) { + this.title = title; + } + + public void setUpdatedAt(Date updatedAt) { + this.updatedAt = updatedAt; + } + + public void setCreatedAt(Date createdAt) { + this.createdAt = createdAt; + } + + public void setTags(ArrayList tags) { + this.tags = tags; + } }