1 19 20 package com.lutris.airsent.spec.address; 21 22 import com.lutris.airsent.spec.AirSentException; 23 24 31 public interface Address { 32 33 36 public final static int MAX_NAME = 48; 37 38 41 public final static int MAX_ADDRESS = 48; 42 43 46 public final static int MAX_CITY = 64; 47 48 51 public final static int MAX_ZIP_CODE = 24; 52 53 56 public final static int MAX_PHONE = 21; 57 58 61 public final static int MAX_AREA_CODE = 21; 62 63 66 public final static int MAX_STATE = 32; 67 68 71 public final static int MAX_COUNTRY = 64; 72 73 76 public final static int MAX_DIRECTIONS = 1024; 77 78 79 80 81 91 public String getHandle() throws AirSentException; 92 93 94 95 96 97 98 108 public String getName() throws AirSentException; 109 110 120 public void setName(String name) throws AirSentException; 121 122 132 public String getStreet1() throws AirSentException; 133 134 144 public void setStreet1(String street) throws AirSentException; 145 146 156 public String getStreet2() throws AirSentException; 157 158 168 public void setStreet2(String street) throws AirSentException; 169 170 180 public String getStreet3() throws AirSentException; 181 182 192 public void setStreet3(String street) throws AirSentException; 193 194 204 public String getCity() throws AirSentException; 205 206 216 public void setCity(String city) throws AirSentException; 217 218 228 public String getPostalCode() throws AirSentException; 229 230 240 public void setPostalCode(String code) throws AirSentException; 241 242 252 public String getLocalNumber() throws AirSentException; 253 254 264 public void setLocalNumber(String number) throws AirSentException; 265 266 276 public String getAreaCode() throws AirSentException; 277 278 288 public void setAreaCode(String area) throws AirSentException; 289 290 300 public String getState() throws AirSentException; 301 302 312 public void setState(String state) throws AirSentException; 313 314 324 public String getCountry() throws AirSentException; 325 326 336 public void setCountry(String country) throws AirSentException; 337 338 348 public String getDirections() throws AirSentException; 349 350 360 public void setDirections(String directions) 361 throws AirSentException; 362 363 371 public void save() throws AirSentException; 372 373 381 public void delete() throws AirSentException; 382 } 383 384 | Popular Tags |