1 29 30 package hero.entity; 31 32 import hero.interfaces.BnNodePerformerAssignPK; 33 import hero.interfaces.BnNodePerformerAssignValue; 34 import hero.interfaces.BnNodeLocal; 35 import hero.interfaces.InvalidValueException; 36 import hero.util.BonitaServiceLocator; 37 import hero.util.BonitaServiceException; 38 39 import javax.ejb.CreateException ; 40 import javax.ejb.EJBException ; 41 import javax.ejb.EntityBean ; 42 import javax.ejb.EntityContext ; 43 import javax.ejb.RemoveException ; 44 45 95 public abstract class BnNodePerformerAssignBean 96 implements EntityBean 97 { 98 99 103 public EntityContext mContext; 104 105 109 110 114 127 public abstract String getId(); 128 129 135 public abstract void setId( String pId ); 136 137 138 148 public abstract BnNodeLocal getBnNode(); 149 150 151 158 public abstract void setBnNode( BnNodeLocal pNode ); 159 160 170 public abstract String getName(); 171 172 178 public abstract void setName( String performerAssignName ); 179 180 181 191 public abstract int getType(); 192 193 199 public abstract void setType( int performerAssignType ); 200 201 211 public abstract String getPropertyName(); 212 213 219 public abstract void setPropertyName( String propertyName ); 220 221 225 public abstract BnNodePerformerAssignValue getBnNodePerformerAssignValue(); 226 227 231 public abstract void setBnNodePerformerAssignValue(BnNodePerformerAssignValue v); 232 233 234 235 239 254 public BnNodePerformerAssignPK ejbCreate(BnNodePerformerAssignValue prp ) 255 throws 256 InvalidValueException, 257 EJBException , 258 CreateException 259 { 260 setBnNodePerformerAssignValue(prp); 261 this.setId(hero.interfaces.BnNodePerformerAssignUtil.generateGUID(this)); 262 return null; 264 } 265 266 281 public BnNodePerformerAssignPK ejbCreate(String performerAssignName, int performerAssignType, String propertyName) 282 throws 283 InvalidValueException, 284 EJBException , 285 CreateException 286 { 287 this.setName(performerAssignName); 288 this.setType(performerAssignType); 289 this.setPropertyName(propertyName); 290 this.setId(hero.interfaces.BnNodePerformerAssignUtil.generateGUID(this)); 291 return null; 293 } 294 295 public void setEntityContext( EntityContext lContext ) 296 { 297 mContext = lContext; 298 } 299 300 public void unsetEntityContext() 301 { 302 mContext = null; 303 } 304 305 public void ejbActivate() 306 { 307 } 308 309 public void ejbPassivate() 310 { 311 } 312 313 public void ejbLoad() 314 { 315 } 316 317 public void ejbStore() 318 { 319 } 320 321 public void ejbRemove() 322 throws 323 RemoveException 324 { 325 } 326 327 } 328 | Popular Tags |