XmlMetaModel更新

This commit is contained in:
r-ca 2024-01-14 16:34:41 +09:00
parent bd5a041424
commit cd5a588545
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -4,12 +4,8 @@ import java.util.ArrayList;
public class XmlMetaModel {
String title;
String author;
String description;
// Date created;
// Date updated;
String defaultBranch;
String revisionId;
ArrayList<XmlMetaPageModel> pages;
// Constructor
@ -17,31 +13,15 @@ public class XmlMetaModel {
public XmlMetaModel() {
}
public XmlMetaModel(String title, String author, String description, String defaultBranch, ArrayList<XmlMetaPageModel> pages) {
this.title = title;
this.author = author;
this.description = description;
this.defaultBranch = defaultBranch;
public XmlMetaModel(String revisionId, ArrayList<XmlMetaPageModel> pages) {
this.revisionId = revisionId;
this.pages = pages;
}
// Getter
public String getTitle() {
return title;
}
public String getAuthor() {
return author;
}
public String getDescription() {
return description;
}
public String getDefaultBranch() {
return defaultBranch;
public String getRevisionId() {
return revisionId;
}
public ArrayList<XmlMetaPageModel> getPages() {
@ -50,24 +30,11 @@ public class XmlMetaModel {
// Setter
public void setTitle(String title) {
this.title = title;
}
public void setAuthor(String author) {
this.author = author;
}
public void setDescription(String description) {
this.description = description;
}
public void setDefaultBranch(String defaultBranch) {
this.defaultBranch = defaultBranch;
public void setRevisionId(String revisionId) {
this.revisionId = revisionId;
}
public void setPages(ArrayList<XmlMetaPageModel> pages) {
this.pages = pages;
}
}