1 27 28 34 package olstore.entity; 35 36 import javax.ejb.EntityBean; 37 38 86 87 public abstract class AddressBean implements EntityBean { 88 89 94 public java.lang.String ejbCreate(String country, String city, String postCode, String street1, String street2, String province) 95 throws javax.ejb.CreateException { 96 setCountry (country); 97 setCity (city); 98 setPostalCode (postCode); 99 setStreet1 (street1); 100 setStreet2 (street2); 101 setProvince (province); 102 return null; 103 } 104 105 109 public void ejbPostCreate(String country, String city, String postCode, String street1, String street2, String province) throws javax.ejb.CreateException { 110 } 111 112 131 public abstract java.lang.String getCountry(); 132 133 140 public abstract void setCountry(java.lang.String country); 141 142 161 public abstract java.lang.String getProvince(); 162 163 170 public abstract void setProvince(java.lang.String province); 171 172 173 192 public abstract java.lang.String getCity(); 193 194 201 public abstract void setCity(java.lang.String city); 202 203 222 public abstract java.lang.String getPostalCode(); 223 224 231 public abstract void setPostalCode(java.lang.String postalCode); 232 233 252 public abstract java.lang.String getStreet1(); 253 254 261 public abstract void setStreet1(java.lang.String street1); 262 263 282 public abstract java.lang.String getStreet2(); 283 284 291 public abstract void setStreet2(java.lang.String street2); 292 293 } 294 | Popular Tags |