SupplierCMP.java
资源名称:MyStore.rar [点击查看]
上传用户:hgs128
上传日期:2007-02-03
资源大小:166k
文件大小:3k
源码类别:
百货/超市行业
开发平台:
WINDOWS
- /*
- * Generated by XDoclet - Do not edit!
- */
- package cmp;
- /**
- * CMP layer for Supplier.
- * @lomboz generated
- */
- public abstract class SupplierCMP
- extends cmp.SupplierBean
- implements javax.ejb.EntityBean
- {
- public cmp.SupplierData getData()
- {
- cmp.SupplierData dataHolder = null;
- try
- {
- dataHolder = new cmp.SupplierData();
- dataHolder.setSupplierid( getSupplierid() );
- dataHolder.setUserid( getUserid() );
- dataHolder.setFirstname( getFirstname() );
- dataHolder.setLastname( getLastname() );
- dataHolder.setAddress( getAddress() );
- dataHolder.setMessage( getMessage() );
- dataHolder.setCredit_limit( getCredit_limit() );
- }
- catch (RuntimeException e)
- {
- throw new javax.ejb.EJBException(e);
- }
- return dataHolder;
- }
- /**
- * Generated ejbPostCreate for corresponding ejbCreate method.
- *
- * @see #ejbCreate(java.lang.String supplierID,java.lang.String userID,java.lang.String firstname,java.lang.String lastname,java.lang.String address,java.lang.String message,java.lang.Float credit_limit)
- */
- public void ejbPostCreate(java.lang.String supplierID,java.lang.String userID,java.lang.String firstname,java.lang.String lastname,java.lang.String address,java.lang.String message,java.lang.Float credit_limit)
- {
- }
- public void ejbLoad()
- {
- }
- public void ejbStore()
- {
- }
- public void ejbActivate()
- {
- }
- public void ejbPassivate()
- {
- }
- public void setEntityContext(javax.ejb.EntityContext ctx) throws javax.ejb.EJBException, java.rmi.RemoteException
- {
- super.setEntityContext(ctx);
- }
- public void unsetEntityContext() throws javax.ejb.EJBException, java.rmi.RemoteException
- {
- super.unsetEntityContext();
- }
- public void ejbRemove() throws javax.ejb.RemoveException
- {
- }
- /* Value Objects BEGIN */
- /* Value Objects END */
- public abstract java.lang.String getSupplierid() ;
- public abstract void setSupplierid( java.lang.String supplierid ) ;
- public abstract java.lang.String getUserid() ;
- public abstract void setUserid( java.lang.String userid ) ;
- public abstract java.lang.String getFirstname() ;
- public abstract void setFirstname( java.lang.String firstname ) ;
- public abstract java.lang.String getLastname() ;
- public abstract void setLastname( java.lang.String lastname ) ;
- public abstract java.lang.String getAddress() ;
- public abstract void setAddress( java.lang.String address ) ;
- public abstract java.lang.String getMessage() ;
- public abstract void setMessage( java.lang.String message ) ;
- public abstract java.lang.Float getCredit_limit() ;
- public abstract void setCredit_limit( java.lang.Float credit_limit ) ;
- }