Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. @Entity
  2. public class StarredData {
  3.  
  4. @PrimaryKey(autoGenerate = false)
  5. @NonNull
  6. private String matchID;
  7. private String name;
  8. private String address;
  9. private String city;
  10.  
  11. public StarredData(String matchID, String name, String address, String city) {
  12. this.matchID = matchID;
  13. this.name = name;
  14. this.address = address;
  15. this.city = city;
  16. }
  17.  
  18. public String getMatchID() {
  19. return matchID;
  20. }
  21.  
  22. public void setMatchID(String matchID) {
  23. this.matchID = matchID;
  24. }
  25.  
  26. public String getName() {
  27. return name;
  28. }
  29.  
  30. public void setName(String name) {
  31. this.name = name;
  32. }
  33.  
  34. public String getAddress() {
  35. return address;
  36. }
  37.  
  38. public void setAddress(String address) {
  39. this.address = address;
  40. }
  41.  
  42. public String getCity() {
  43. return city;
  44. }
  45.  
  46. public void setCity(String city) {
  47. this.city = city;
  48. }
  49. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement