⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 addresscmp.java

📁 XDoclet 使自动生成部署描述符更为便利。XDoclet 是一个代码生成实用程序
💻 JAVA
字号:
/* * Generated by XDoclet - Do not edit! */package test.ejb;/** * CMP layer for Address. * @xdoclet-generated at 22-10-04 * @copyright The XDoclet Team * @author XDoclet * @version 1.2.2 */public abstract class AddressCMP   extends test.ejb.AddressBean   implements javax.ejb.EntityBean{   public test.interfaces.AddressData getData()   {      test.interfaces.AddressData dataHolder = null;      try      {         dataHolder = new test.interfaces.AddressData();         dataHolder.setId( getId() );         dataHolder.setStreet( getStreet() );         dataHolder.setCity( getCity() );         dataHolder.setReadOnly( getReadOnly() );         dataHolder.setCreationDate( getCreationDate() );      }      catch (RuntimeException e)      {         throw new javax.ejb.EJBException(e);      }      return dataHolder;   }   public void ejbLoad() throws javax.ejb.EJBException   {      super.ejbLoad();   }   public void ejbStore() throws javax.ejb.EJBException   {         super.ejbStore();   }   public void ejbActivate() throws javax.ejb.EJBException   {      super.ejbActivate();   }   public void ejbPassivate() throws javax.ejb.EJBException   {      super.ejbPassivate();      AddressValue = null;   }   public void setEntityContext(javax.ejb.EntityContext ctx) throws javax.ejb.EJBException   {      super.setEntityContext(ctx);   }   public void unsetEntityContext() throws javax.ejb.EJBException   {      super.unsetEntityContext();   }   public void ejbRemove() throws javax.ejb.EJBException, javax.ejb.RemoveException   {      super.ejbRemove();   } /* Value Objects BEGIN */   private test.interfaces.AddressValue AddressValue = null;   public test.interfaces.AddressValue getAddressValue()   {      AddressValue = new test.interfaces.AddressValue();      try         {            AddressValue.setId( getId() );         }         catch (Exception e)         {            throw new javax.ejb.EJBException(e);         }	  return AddressValue;   }   public void setAddressValue( test.interfaces.AddressValue valueHolder )   {	  try	  {	  }	  catch (Exception e)	  {		 throw new javax.ejb.EJBException(e);	  }   }/* Value Objects END */   public abstract java.lang.String getId() ;   public abstract void setId( java.lang.String id ) ;   public abstract java.lang.String getStreet() ;   public abstract void setStreet( java.lang.String street ) ;   public abstract java.lang.String getCity() ;   public abstract void setCity( java.lang.String city ) ;   public abstract int getReadOnly() ;   public abstract void setReadOnly( int readOnly ) ;   public abstract java.util.Date getCreationDate() ;   public abstract void setCreationDate( java.util.Date creationDate ) ;}

⌨️ 快捷键说明

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