mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +00:00
Getter/Setter作成
This commit is contained in:
parent
334954b6a8
commit
1cf28d5997
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user