ArrayListやめた

This commit is contained in:
ろむねこ 2023-12-14 11:52:23 +09:00
parent 00983d49cd
commit d61104d1ab
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -3,6 +3,7 @@ package one.nem.lacerta.model.document;
import java.util.ArrayList; import java.util.ArrayList;
import one.nem.lacerta.model.document.tag.DocumentTag; import one.nem.lacerta.model.document.tag.DocumentTag;
import java.util.Date; import java.util.Date;
import java.util.List;
public class DocumentMeta { public class DocumentMeta {
@ -10,7 +11,7 @@ public class DocumentMeta {
String title; String title;
Date updatedAt; Date updatedAt;
Date createdAt; Date createdAt;
ArrayList<DocumentTag> tags; List<DocumentTag> tags;
// Getter // Getter
@ -30,7 +31,7 @@ public class DocumentMeta {
return createdAt; return createdAt;
} }
public ArrayList<DocumentTag> getTags() { public List<DocumentTag> getTags() {
return tags; return tags;
} }
@ -52,7 +53,7 @@ public class DocumentMeta {
this.createdAt = createdAt; this.createdAt = createdAt;
} }
public void setTags(ArrayList<DocumentTag> tags) { public void setTags(List<DocumentTag> tags) {
this.tags = tags; this.tags = tags;
} }
} }