1 package test.ejb.cmr; 2 3 38 public abstract class LanguageCodeBean implements javax.ejb.EntityBean { 39 40 43 private javax.ejb.EntityContext _entityContext; 44 45 57 public abstract java.lang.Integer getLanguageCodeId(); 58 59 64 public abstract void setLanguageCodeId(java.lang.Integer languageCodeId); 65 66 77 public abstract java.lang.String getName(); 78 79 86 public abstract void setName(java.lang.String name); 87 88 101 public abstract test.ejb.cmr.LanguageLocal getLanguage(); 102 103 111 public abstract void setLanguage(test.ejb.cmr.LanguageLocal language); 112 113 122 public java.lang.Integer ejbCreate( java.lang.Integer languageCodeId, java.lang.String name, test.ejb.cmr.LanguageLocal language ) throws javax.ejb.CreateException { 123 setLanguageCodeId(languageCodeId); 124 setName(name); 125 return null; 127 } 128 129 136 public void ejbPostCreate( java.lang.Integer languageCodeId, java.lang.String name, test.ejb.cmr.LanguageLocal language ) throws javax.ejb.CreateException { 137 setLanguage(language); 139 } 140 141 143 147 public void setEntityContext(javax.ejb.EntityContext entityContext) { 148 _entityContext = entityContext; 149 } 150 151 155 public void unsetEntityContext() { 156 _entityContext = null; 157 } 158 159 163 public void ejbLoad() { 164 } 165 166 170 public void ejbActivate() { 171 } 172 173 177 public void ejbPassivate() { 178 } 179 180 184 public void ejbRemove() throws javax.ejb.RemoveException { 185 } 186 187 191 public void ejbStore() { 192 } 193 } 194 | Popular Tags |