diff --git a/model/src/main/java/one/nem/lacerta/model/ListItem.java b/model/src/main/java/one/nem/lacerta/model/ListItem.java index 323b6bdd..d1d67afa 100644 --- a/model/src/main/java/one/nem/lacerta/model/ListItem.java +++ b/model/src/main/java/one/nem/lacerta/model/ListItem.java @@ -10,6 +10,7 @@ public class ListItem { String description; ListItemType itemType; String itemId; + boolean isCombined; // Constructor @@ -20,6 +21,14 @@ public class ListItem { this.itemId = itemId; } + public ListItem(String title, String description, ListItemType itemType, String itemId, boolean isCombined) { + this.title = title; + this.description = description; + this.itemType = itemType; + this.itemId = itemId; + this.isCombined = isCombined; + } + public ListItem() { // Empty constructor } @@ -42,6 +51,10 @@ public class ListItem { return itemId; } + public boolean getIsCombined() { + return isCombined; + } + // Setter public void setTitle(String title) { @@ -60,4 +73,8 @@ public class ListItem { this.itemId = itemId; } + public void setIsCombined(boolean isCombined) { + this.isCombined = isCombined; + } + }