1 3 package com.sun.javaee.blueprints.autocomplete; 4 5 6 12 public class SessionBean { 13 private String name; 14 private String street; 15 private String city; 16 private String state; 17 private String zip; 18 private final boolean bDebug=false; 19 20 public SessionBean() { 21 } 22 23 public void setName(String name) { 24 if(bDebug) System.out.println("Setting name - " + name); 25 this.name = name; 26 } 27 28 public String getName() { 29 return name; 30 } 31 32 public void setStreet(String street) { 33 if(bDebug) System.out.println("Setting street - " + street); 34 this.street = street; 35 } 36 37 public String getStreet() { 38 return street; 39 } 40 41 public void setCity(String city) { 42 if(bDebug) System.out.println("Setting City - " + city); 43 this.city = city; 44 } 45 46 public String getCity() { 47 return city; 48 } 49 50 public void setState(String state) { 51 if(bDebug) System.out.println("Setting state - " + state); 52 this.state = state; 53 } 54 55 public String getState() { 56 return state; 57 } 58 59 public void setZip(String zip) { 60 if(bDebug) System.out.println("Setting zip - " + zip); 61 this.zip = zip; 62 } 63 64 public String getZip() { 65 return zip; 66 } 67 } 68 | Popular Tags |