Getter/Setter

This commit is contained in:
r-ca 2023-12-14 04:33:20 +09:00
parent e0a786764e
commit bacab14be6
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -12,5 +12,47 @@ public class DocumentMeta {
Date createdAt;
ArrayList<DocumentTag> 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<DocumentTag> 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<DocumentTag> tags) {
this.tags = tags;
}
}