hasCombinedに変更

This commit is contained in:
r-ca 2024-01-28 13:47:08 +09:00
parent b86843bd57
commit 435fe7b3ce
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -10,7 +10,7 @@ public class ListItem {
String description; String description;
ListItemType itemType; ListItemType itemType;
String itemId; String itemId;
boolean isCombined; boolean hasCombined;
// Constructor // Constructor
@ -21,12 +21,12 @@ public class ListItem {
this.itemId = itemId; this.itemId = itemId;
} }
public ListItem(String title, String description, ListItemType itemType, String itemId, boolean isCombined) { public ListItem(String title, String description, ListItemType itemType, String itemId, boolean hasCombined) {
this.title = title; this.title = title;
this.description = description; this.description = description;
this.itemType = itemType; this.itemType = itemType;
this.itemId = itemId; this.itemId = itemId;
this.isCombined = isCombined; this.hasCombined = hasCombined;
} }
public ListItem() { public ListItem() {
@ -51,8 +51,8 @@ public class ListItem {
return itemId; return itemId;
} }
public boolean getIsCombined() { public boolean getHasCombined() {
return isCombined; return hasCombined;
} }
// Setter // Setter
@ -73,8 +73,8 @@ public class ListItem {
this.itemId = itemId; this.itemId = itemId;
} }
public void setIsCombined(boolean isCombined) { public void setHasCombined(boolean hasCombined) {
this.isCombined = isCombined; this.hasCombined = hasCombined;
} }
} }