Venciity

MenuItem

May 15th, 2014
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.63 KB | None | 0 0
  1. import java.util.ArrayList;
  2. import java.util.List;
  3.  
  4. @SuppressWarnings("unused")
  5. public class MenuItem {
  6.  
  7.  private int id;
  8.  private String text;
  9.  private boolean isSelected;
  10.  
  11.  
  12.  
  13.     public int getId() {
  14.         return this.id;
  15.     }
  16.  
  17.     public void setId(int id) {
  18.         this.id = id;
  19.     }
  20.    
  21.     public String getText() {
  22.         return this.text;
  23.     }
  24.    
  25.     public void setText(String text) {
  26.         this.text = text;
  27.     }
  28.    
  29.     public boolean getIsSelected() {
  30.         return this.isSelected;
  31.     }
  32.    
  33.     public void setIsSelected(boolean isSelected){
  34.         this.isSelected = isSelected;
  35.     }
  36.    
  37. }
Advertisement
Add Comment
Please, Sign In to add comment