1 3 package org.objectweb.jonas.stests.appli; 4 5 import java.rmi.RemoteException ; 6 import javax.ejb.EJBObject ; 7 8 11 public interface Customer extends EJBObject { 12 13 19 20 public Integer getCustomerID() throws RemoteException ; 21 22 23 29 30 public String getFirstName() throws RemoteException ; 31 32 39 40 public void setFirstName(String fn) throws RemoteException ; 41 42 48 49 public String getLastName() throws RemoteException ; 50 51 58 59 public void setLastName(String ln) throws RemoteException ; 60 61 67 68 public String getMiddleInitials() throws RemoteException ; 69 70 77 78 public void setMiddleInitials(String mi) throws RemoteException ; 79 80 81 87 88 public String getPhone() throws RemoteException ; 89 90 97 98 public void setPhone(String phone) throws RemoteException ; 99 100 101 107 108 public String getAddressLine1() throws RemoteException ; 109 110 117 118 public void setAddressLine1(String line) throws RemoteException ; 119 120 126 127 public String getAddressLine2() throws RemoteException ; 128 129 136 137 public void setAddressLine2(String line) throws RemoteException ; 138 139 140 146 147 public String getCity() throws RemoteException ; 148 149 156 157 public void setCity(String city) throws RemoteException ; 158 159 165 166 public String getState() throws RemoteException ; 167 168 175 176 public void setState(String state) throws RemoteException ; 177 178 184 185 public String getZip() throws RemoteException ; 186 187 194 195 public void setZip(String zip) throws RemoteException ; 196 197 198 204 205 public float getBalance() throws RemoteException ; 206 207 214 215 public void setBalance(float balance) throws RemoteException ; 216 217 223 224 public float getYearToDateBalance() throws RemoteException ; 225 226 233 234 public void setYearToDateBalance(float ytdBalance) throws RemoteException ; 235 236 237 244 245 public void updateBalance(float orderAmount) throws RemoteException ; 246 247 248 254 255 public float getCreditLimit() throws RemoteException ; 256 257 264 265 public void setCreditLimit(float limit) throws RemoteException ; 266 267 } 268 | Popular Tags |