1 33 package com.icesoft.applications.faces.address; 34 35 import java.util.Set ; 36 import java.util.TreeMap ; 37 38 43 public class MatchBean extends Matchable { 44 45 protected String city, state, zip; 46 protected TreeMap cityMap, stateMap, zipMap; 47 48 protected String getCity() { 49 return city; 50 } 51 52 protected void setCity(String city) { 53 this.city = city; 54 } 55 56 protected String getState() { 57 return state; 58 } 59 60 protected void setState(String state) { 61 this.state = state; 62 } 63 64 protected String getZip() { 65 return zip; 66 } 67 68 protected TreeMap getCities() { 69 return cityMap; 70 } 71 72 protected Set getCitiesAsSet() { 73 return cityMap.keySet(); 74 } 75 76 protected TreeMap getZips() { 77 return zipMap; 78 } 79 80 protected Set getZipsAsSet() { 81 return zipMap.keySet(); 82 } 83 } | Popular Tags |