1 package test.ejb.cmr; 2 3 39 public abstract class CountryBean implements javax.ejb.EntityBean { 40 41 44 private javax.ejb.EntityContext _entityContext; 45 46 58 public abstract java.lang.Integer getCountryId(); 59 60 65 public abstract void setCountryId(java.lang.Integer countryId); 66 67 76 public abstract java.lang.Integer getOwnerIdFk(); 77 78 83 public abstract void setOwnerIdFk(java.lang.Integer ownerIdFk); 84 85 96 public abstract java.lang.String getName(); 97 98 105 public abstract void setName(java.lang.String name); 106 107 125 public abstract java.util.Collection getCities(); 126 127 135 public abstract void setCities(java.util.Collection cities); 136 137 150 public abstract java.util.Collection getCountries(); 151 152 160 public abstract void setCountries(java.util.Collection countries); 161 162 177 public abstract test.ejb.cmr.CountryLocal getCountry(); 178 179 187 public abstract void setCountry(test.ejb.cmr.CountryLocal country); 188 189 198 public java.lang.Integer ejbCreate( java.lang.Integer countryId, java.lang.String name, test.ejb.cmr.CountryLocal country ) throws javax.ejb.CreateException { 199 setCountryId(countryId); 200 setName(name); 201 return null; 203 } 204 205 212 public void ejbPostCreate( java.lang.Integer countryId, java.lang.String name, test.ejb.cmr.CountryLocal country ) throws javax.ejb.CreateException { 213 setCountry(country); 215 } 216 217 219 223 public void setEntityContext(javax.ejb.EntityContext entityContext) { 224 _entityContext = entityContext; 225 } 226 227 231 public void unsetEntityContext() { 232 _entityContext = null; 233 } 234 235 239 public void ejbLoad() { 240 } 241 242 246 public void ejbActivate() { 247 } 248 249 253 public void ejbPassivate() { 254 } 255 256 260 public void ejbRemove() throws javax.ejb.RemoveException { 261 } 262 263 267 public void ejbStore() { 268 } 269 } 270 | Popular Tags |