diff --git a/model/src/main/java/one/nem/lacerta/model/LibraryItemPage.java b/model/src/main/java/one/nem/lacerta/model/LibraryItemPage.java index 825c2396..c354d5ff 100644 --- a/model/src/main/java/one/nem/lacerta/model/LibraryItemPage.java +++ b/model/src/main/java/one/nem/lacerta/model/LibraryItemPage.java @@ -6,14 +6,16 @@ public class LibraryItemPage { String pageTitle; String pageId; + String parentId; ArrayList listItems; // Constructor - public LibraryItemPage(String pageTitle, String pageId, ArrayList listItems) { + public LibraryItemPage(String pageTitle, String pageId, ArrayList listItems, String parentId) { this.pageTitle = pageTitle; this.pageId = pageId; this.listItems = listItems; + this.parentId = parentId; } public LibraryItemPage() { @@ -30,6 +32,10 @@ public class LibraryItemPage { return pageId; } + public String getParentId() { + return parentId; + } + public ArrayList getListItems() { return listItems; } @@ -44,6 +50,10 @@ public class LibraryItemPage { this.pageId = pageId; } + public void setParentId(String parentId) { + this.parentId = parentId; + } + public void setListItems(ArrayList listItems) { this.listItems = listItems; }