Getter/Setter

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

View File

@ -14,5 +14,48 @@ public class DocumentDetail {
String defaultBranch;
Path fullPath;
// Getter
public DocumentMeta getMeta() {
return meta;
}
public DocumentPath getPath() {
return path;
}
public String getAuthor() {
return author;
}
public String getDefaultBranch() {
return defaultBranch;
}
public Path getFullPath() {
return fullPath;
}
// Setter
public void setMeta(DocumentMeta meta) {
this.meta = meta;
}
public void setPath(DocumentPath path) {
this.path = path;
}
public void setAuthor(String author) {
this.author = author;
}
public void setDefaultBranch(String defaultBranch) {
this.defaultBranch = defaultBranch;
}
public void setFullPath(Path fullPath) {
this.fullPath = fullPath;
}
}