Getter/Setter作成

This commit is contained in:
r-ca 2023-12-17 13:55:56 +09:00
parent 334954b6a8
commit 1cf28d5997
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -7,4 +7,32 @@ public class DebugMenuListItem {
private String destinationId; // Navigation destination ID
private boolean enabled;
public DebugMenuListItem(String title, String description, String destinationId, boolean enabled) {
this.title = title;
this.description = description;
this.destinationId = destinationId;
this.enabled = enabled;
}
public String getTitle() {
return title;
}
public String getDescription() {
return description;
}
public String getDestinationId() {
return destinationId;
}
public boolean isEnabled() {
return enabled;
}
public void setEnabled(boolean enabled) {
this.enabled = enabled;
}
}