1 18 19 20 package org.apache.struts.webapp.validator; 21 22 23 27 public class CityStateZip implements java.io.Serializable { 28 29 private String sCity = null; 30 private String sStateProv = null; 31 private String [] sZipPostal = new String [3]; 32 33 34 public String getCity() { 35 return sCity; 36 } 37 38 public void setCity(String sCity) { 39 this.sCity = sCity; 40 } 41 42 public String getStateProv() { 43 return sStateProv; 44 } 45 46 public void setStateProv(String sStateProv) { 47 this.sStateProv = sStateProv; 48 } 49 50 public String getZipPostal(int index) { 51 return sZipPostal[index]; 52 } 53 54 public void setZipPostal(int index, String value) { 55 this.sZipPostal[index] = value; 56 } 57 58 } 59 | Popular Tags |