ItemCMP.java
资源名称:MyStore.rar [点击查看]
上传用户:hgs128
上传日期:2007-02-03
资源大小:166k
文件大小:2k
源码类别:
百货/超市行业
开发平台:
WINDOWS
- /*
- * Generated by XDoclet - Do not edit!
- */
- package cmp;
- /**
- * CMP layer for Item.
- * @lomboz generated
- */
- public abstract class ItemCMP
- extends cmp.ItemBean
- implements javax.ejb.EntityBean
- {
- public cmp.ItemData getData()
- {
- cmp.ItemData dataHolder = null;
- try
- {
- dataHolder = new cmp.ItemData();
- dataHolder.setItemID( getItemID() );
- dataHolder.setSupplierID( getSupplierID() );
- dataHolder.setDescription( getDescription() );
- dataHolder.setQuantity( getQuantity() );
- dataHolder.setPrice( getPrice() );
- }
- catch (RuntimeException e)
- {
- throw new javax.ejb.EJBException(e);
- }
- return dataHolder;
- }
- /**
- * Generated ejbPostCreate for corresponding ejbCreate method.
- *
- * @see #ejbCreate(java.lang.String itemID,java.lang.String supplierID,java.lang.String description,java.lang.Integer quantity,java.lang.Float price)
- */
- public void ejbPostCreate(java.lang.String itemID,java.lang.String supplierID,java.lang.String description,java.lang.Integer quantity,java.lang.Float price)
- {
- }
- public void ejbLoad()
- {
- }
- public void ejbStore()
- {
- }
- public void ejbActivate()
- {
- }
- public void ejbPassivate()
- {
- }
- public void setEntityContext(javax.ejb.EntityContext ctx)
- {
- super.setEntityContext(ctx);
- }
- public void unsetEntityContext()
- {
- super.unsetEntityContext();
- }
- public void ejbRemove() throws javax.ejb.RemoveException
- {
- }
- /* Value Objects BEGIN */
- /* Value Objects END */
- public abstract java.lang.String getItemID() ;
- public abstract void setItemID( java.lang.String itemID ) ;
- public abstract java.lang.String getSupplierID() ;
- public abstract void setSupplierID( java.lang.String supplierID ) ;
- public abstract java.lang.String getDescription() ;
- public abstract void setDescription( java.lang.String description ) ;
- public abstract java.lang.Integer getQuantity() ;
- public abstract void setQuantity( java.lang.Integer quantity ) ;
- public abstract java.lang.Float getPrice() ;
- public abstract void setPrice( java.lang.Float price ) ;
- }