mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-02 11:37:37 +00:00
ListItemにisCombinedを追加
This commit is contained in:
1 file changed
+17
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user