Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.ArrayList;
- import java.util.List;
- @SuppressWarnings("unused")
- public class MenuItem {
- private int id;
- private String text;
- private boolean isSelected;
- public int getId() {
- return this.id;
- }
- public void setId(int id) {
- this.id = id;
- }
- public String getText() {
- return this.text;
- }
- public void setText(String text) {
- this.text = text;
- }
- public boolean getIsSelected() {
- return this.isSelected;
- }
- public void setIsSelected(boolean isSelected){
- this.isSelected = isSelected;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment