/*
 * Generated by XDoclet - Do not edit!
 */
package test.ejb.cmr;

/**
 * CMP layer for Language.
 * @xdoclet-generated at 22-10-04
 * @copyright The XDoclet Team
 * @author XDoclet
 * @version 1.2.2
 */
public abstract class LanguageCMP
   extends test.ejb.cmr.LanguageBean
   implements javax.ejb.EntityBean
{

   public test.ejb.cmr.LanguageData getData()
   {
      test.ejb.cmr.LanguageData dataHolder = null;
      try
      {
         dataHolder = new test.ejb.cmr.LanguageData();

         dataHolder.setLanguageId( getLanguageId() );
         dataHolder.setLanguageCodeIdFk( getLanguageCodeIdFk() );
         dataHolder.setName( getName() );

      }
      catch (RuntimeException e)
      {
         throw new javax.ejb.EJBException(e);
      }

      return dataHolder;
   }

   public void ejbLoad() 
   {
      super.ejbLoad();
   }

   public void ejbStore() 
   {
         super.ejbStore();
   }

   public void ejbActivate() 
   {
      super.ejbActivate();
   }

   public void ejbPassivate() 
   {
      super.ejbPassivate();

   }

   public void setEntityContext(javax.ejb.EntityContext ctx) 
   {
      super.setEntityContext(ctx);
   }

   public void unsetEntityContext() 
   {
      super.unsetEntityContext();
   }

   public void ejbRemove() throws javax.ejb.RemoveException
   {
      super.ejbRemove();

   }

 /* Value Objects BEGIN */

/* Value Objects END */

   public abstract java.lang.Integer getLanguageId() ;

   public abstract void setLanguageId( java.lang.Integer languageId ) ;

   public abstract java.lang.Integer getLanguageCodeIdFk() ;

   public abstract void setLanguageCodeIdFk( java.lang.Integer languageCodeIdFk ) ;

   public abstract java.lang.String getName() ;

   public abstract void setName( java.lang.String name ) ;

}
