1 19 20 package com.lutris.airsent.spec.customer; 21 22 import com.lutris.airsent.spec.AirSentException; 23 import com.lutris.airsent.spec.address.Address; 24 25 32 public interface Customer extends java.io.Serializable { 33 34 37 public static final int MAX_BUSINESS = 64; 38 39 42 public static final int MAX_LOGIN = 64; 43 44 47 public static final int MAX_PASSWORD = 64; 48 49 52 public static final int MAX_FIRST_NAME = 32; 53 54 57 public static final int MAX_LAST_NAME = 32; 58 59 62 public static final int MAX_EMAIL = 32; 63 64 70 public String getHandle() 71 throws AirSentException; 72 73 78 public String getFirstName() 79 throws AirSentException; 80 81 86 public void setFirstName(String first) 87 throws AirSentException; 88 89 95 public String getLastName() 96 throws AirSentException; 97 98 104 public void setLastName(String last) 105 throws AirSentException; 106 107 113 public String getEmail() 114 throws AirSentException; 115 116 122 public void setEmail(String email) 123 throws AirSentException; 124 125 131 public Address getAddress() 132 throws AirSentException; 133 134 140 public String getBusiness() 141 throws AirSentException; 142 143 149 public void setBusiness(String business) 150 throws AirSentException; 151 152 158 public String getLogin() 159 throws AirSentException; 160 161 167 public void setLogin(String login) 168 throws AirSentException; 169 170 176 public String getPassword() 177 throws AirSentException; 178 179 185 public void setPassword(String password) 186 throws AirSentException; 187 188 193 public void save() 194 throws AirSentException; 195 196 201 public void delete() 202 throws AirSentException; 203 } 204 205 | Popular Tags |