1 package johnmammen.betterpetshop.bo; 2 3 import java.io.Serializable ; 4 import org.apache.commons.lang.builder.ToStringBuilder; 5 6 7 12 public class Bannerdata implements Serializable { 13 14 15 private String favcategory; 16 17 18 private String bannername; 19 20 21 public Bannerdata(String favcategory, String bannername) { 22 this.favcategory = favcategory; 23 this.bannername = bannername; 24 } 25 26 27 public Bannerdata() { 28 } 29 30 37 public String getFavcategory() { 38 return this.favcategory; 39 } 40 41 public void setFavcategory(String favcategory) { 42 this.favcategory = favcategory; 43 } 44 45 52 public String getBannername() { 53 return this.bannername; 54 } 55 56 public void setBannername(String bannername) { 57 this.bannername = bannername; 58 } 59 60 public String toString() { 61 return new ToStringBuilder(this) 62 .append("favcategory", getFavcategory()) 63 .toString(); 64 } 65 66 } 67 | Popular Tags |