getTagIdsを追加

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

View File

@ -35,6 +35,14 @@ public class DocumentMeta {
return tags; return tags;
} }
public List<String> getTagIds() {
List<String> tagIds = new ArrayList<>();
for (DocumentTag tag : tags) {
tagIds.add(tag.getId());
}
return tagIds;
}
// Setter // Setter
public void setId(String id) { public void setId(String id) {