1 package johnmammen.betterpetshop.bo; 2 3 import java.io.Serializable ; 4 import java.util.Set ; 5 import org.apache.commons.lang.builder.ToStringBuilder; 6 7 8 13 public class Categorydetail implements Serializable { 14 15 16 private String catid; 17 18 19 private String name; 20 21 22 private Set products; 23 24 25 public Categorydetail(String catid, String name, Set products) { 26 this.catid = catid; 27 this.name = name; 28 this.products = products; 29 } 30 31 32 public Categorydetail() { 33 } 34 35 42 public String getCatid() { 43 return this.catid; 44 } 45 46 public void setCatid(String catid) { 47 this.catid = catid; 48 } 49 50 57 public String getName() { 58 return this.name; 59 } 60 61 public void setName(String name) { 62 this.name = name; 63 } 64 65 75 public Set getProducts() { 76 return this.products; 77 } 78 79 public void setProducts(Set products) { 80 this.products = products; 81 } 82 83 public String toString() { 84 return new ToStringBuilder(this) 85 .append("catid", getCatid()) 86 .toString(); 87 } 88 89 } 90 | Popular Tags |