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

📄 categorybean.java

📁 噶额外噶外骨骼感广泛高热感 就 啊啊
💻 JAVA
字号:
  /*
   * @author                        : Neelesh
   * @Version                       : 1.0
   *
   * Development Environment        : Oracle9i JDeveloper
   * Name of the File               : CategoryBean.java
   * Creation/Modification History  :
   *
   * Neelesh   11-Jan-2003      Created
   *
   */
  package oracle.otnsamples.vsm.entities;

  import java.util.Collection;

  // EJB imports
  import javax.ejb.EntityBean;
  import javax.ejb.EntityContext;

  /**
   * The CMP implementation bean for CategoryAttribute entity. ejbCreate() and
   * getter/setter methods for persistent fields and relational fields for the
   * bean.  Generated by Oracle9i JDeveloper Tool.
   */
  public abstract class CategoryBean implements EntityBean {
    private EntityContext context;

    public CategoryPK ejbCreate(  ) throws javax.ejb.CreateException {
      return null;
    }

    public void ejbPostCreate(  ) {
    }

    public CategoryPK ejbCreate( String id, String langID, String name )
                                 throws javax.ejb.CreateException {
                                 
      //String id = KeyFactory.getKey(  );
      setId( id );
     // setCatID( catID );
      setLanguageID( langID );
      setCatName( name );

      return new CategoryPK( id,langID );
    }

    public void ejbPostCreate( String catID, String langID, String name ) {
    }

    public void ejbActivate(  ) {
    }

    public void ejbLoad(  ) {
    }

    public void ejbPassivate(  ) {
    }

    public void ejbRemove(  ) {
    }

    public void ejbStore(  ) {
    }

    public void setEntityContext( EntityContext ctx ) {
      this.context = ctx;
    }

    public void unsetEntityContext(  ) {
      this.context = null;
    }

    public abstract String getLanguageID(  );

    public abstract void setLanguageID( String newLanguageID );

    public abstract String getCatName(  );

    public abstract void setCatName( String newCatName );

    public abstract Collection getAttributes(  );

    public abstract void setAttributes( Collection newAttributes );

    public abstract String getId(  );

    public abstract void setId( String newId );


  }

⌨️ 快捷键说明

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