1 package test.ejb.cmr; 2 3 38 public abstract class LanguageBean implements javax.ejb.EntityBean { 39 40 43 private javax.ejb.EntityContext _entityContext; 44 45 57 public abstract java.lang.Integer getLanguageId(); 58 59 64 public abstract void setLanguageId(java.lang.Integer languageId); 65 66 75 public abstract java.lang.Integer getLanguageCodeIdFk(); 76 77 82 public abstract void setLanguageCodeIdFk(java.lang.Integer languageCodeIdFk); 83 84 95 public abstract java.lang.String getName(); 96 97 104 public abstract void setName(java.lang.String name); 105 106 123 public abstract test.ejb.cmr.LanguageCodeLocal getLanguageCode(); 124 125 133 public abstract void setLanguageCode(test.ejb.cmr.LanguageCodeLocal languageCode); 134 135 156 public abstract java.util.Collection getCities(); 157 158 166 public abstract void setCities(java.util.Collection cities); 167 168 177 public java.lang.Integer ejbCreate( java.lang.Integer languageId, java.lang.String name, test.ejb.cmr.LanguageCodeLocal languageCode ) throws javax.ejb.CreateException { 178 setLanguageId(languageId); 179 setName(name); 180 return null; 182 } 183 184 191 public void ejbPostCreate( java.lang.Integer languageId, java.lang.String name, test.ejb.cmr.LanguageCodeLocal languageCode ) throws javax.ejb.CreateException { 192 setLanguageCode(languageCode); 194 } 195 196 198 202 public void setEntityContext(javax.ejb.EntityContext entityContext) { 203 _entityContext = entityContext; 204 } 205 206 210 public void unsetEntityContext() { 211 _entityContext = null; 212 } 213 214 218 public void ejbLoad() { 219 } 220 221 225 public void ejbActivate() { 226 } 227 228 232 public void ejbPassivate() { 233 } 234 235 239 public void ejbRemove() throws javax.ejb.RemoveException { 240 } 241 242 246 public void ejbStore() { 247 } 248 } 249 | Popular Tags |