1 19 20 package com.lutris.airsent.spec.messenger; 21 22 import com.lutris.airsent.spec.AirSentException; 23 import com.lutris.airsent.spec.address.Address; 24 25 28 public interface Messenger extends java.io.Serializable { 29 30 33 public static int MAX_BADGE = 32; 34 35 38 public static int MAX_GEOCODE = 32; 39 40 43 public static int MAX_PASSWORD = 32; 44 45 51 public String getHandle() 52 throws AirSentException; 53 54 60 public String getFirstName() 61 throws AirSentException; 62 63 70 public void setFirstName(String first) 71 throws AirSentException; 72 73 79 public String getLastName() 80 throws AirSentException; 81 82 89 public void setLastName(String last) 90 throws AirSentException; 91 92 98 public Address getAddress() 99 throws AirSentException; 100 101 107 public String getBadge() 108 throws AirSentException; 109 110 116 public void setBadge(String badge) 117 throws AirSentException; 118 119 125 public String getPassword() 126 throws AirSentException; 127 128 134 public void setPassword(String password) 135 throws AirSentException; 136 137 143 public String getEmail() 144 throws AirSentException; 145 146 153 public void setEmail(String email) 154 throws AirSentException; 155 156 162 public String getGeocode() 163 throws AirSentException; 164 165 170 public void save() 171 throws AirSentException; 172 173 178 public void delete() 179 throws AirSentException; 180 181 } 182 183 | Popular Tags |