employeeaddresscmp.java

来自「XDoclet 使自动生成部署描述符更为便利。XDoclet 是一个代码生成实用」· Java 代码 · 共 123 行

JAVA
123
字号
/* * Generated by XDoclet - Do not edit! */package test.ejb.cmr;/** * CMP layer for EmployeeAddress. * @xdoclet-generated at 22-10-04 * @copyright The XDoclet Team * @author XDoclet * @version 1.2.2 */public abstract class EmployeeAddressCMP   extends test.ejb.cmr.EmployeeAddressBean   implements javax.ejb.EntityBean{   public test.ejb.cmr.EmployeeAddressData getData()   {      test.ejb.cmr.EmployeeAddressData dataHolder = null;      try      {         dataHolder = new test.ejb.cmr.EmployeeAddressData();         dataHolder.setId( getId() );         dataHolder.setDescription( getDescription() );      }      catch (RuntimeException e)      {         throw new javax.ejb.EJBException(e);      }      return dataHolder;   }   /**    * Generated ejbPostCreate for corresponding ejbCreate method.    *    * @see #ejbCreate(test.ejb.cmr.EmployeeAddressValue eav)    */   public void ejbPostCreate(test.ejb.cmr.EmployeeAddressValue eav)   {   }   public void ejbLoad()    {   }   public void ejbStore()    {   }   public void ejbActivate()    {   }   public void ejbPassivate()    {      EmployeeAddressValue = null;   }   public void setEntityContext(javax.ejb.EntityContext ctx)    {   }   public void unsetEntityContext()    {   }   public void ejbRemove() throws javax.ejb.RemoveException   {   } /* Value Objects BEGIN */   private test.ejb.cmr.EmployeeAddressValue EmployeeAddressValue = null;   public test.ejb.cmr.EmployeeAddressValue getEmployeeAddressValue()   {      EmployeeAddressValue = new test.ejb.cmr.EmployeeAddressValue();      try         {            EmployeeAddressValue.setId( getId() );            EmployeeAddressValue.setDescription( getDescription() );         }         catch (Exception e)         {            throw new javax.ejb.EJBException(e);         }	  return EmployeeAddressValue;   }   public void setEmployeeAddressValue( test.ejb.cmr.EmployeeAddressValue valueHolder )   {	  try	  {		 setDescription( valueHolder.getDescription() );	  }	  catch (Exception e)	  {		 throw new javax.ejb.EJBException(e);	  }   }/* Value Objects END */   public abstract java.lang.Integer getId() ;   public abstract void setId( java.lang.Integer id ) ;   public abstract java.lang.String getDescription() ;   public abstract void setDescription( java.lang.String description ) ;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?