1 27 28 29 package util; 30 31 public class TeamDetails implements java.io.Serializable { 32 private String id; 33 private String name; 34 private String city; 35 36 public TeamDetails(String id, String name, String city) { 37 this.id = id; 38 this.name = name; 39 this.city = city; 40 } 41 42 public String getId() { 43 return id; 44 } 45 46 public String getName() { 47 return name; 48 } 49 50 public String getCity() { 51 return city; 52 } 53 54 public String toString() { 55 String s = id + " " + name + " " + city; 56 57 return s; 58 } 59 } 60 | Popular Tags |