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

📄 chargecodebean.java

📁 考勤管理系统源码
💻 JAVA
字号:
package com.wiley.compBooks.EJwithUML.TimeCardDomain;

import com.wiley.compBooks.EJwithUML.Base.EjbUtil.*;
import java.util.*;
import java.rmi.*;
import javax.ejb.*;
import javax.naming.*;

/**
 * The ChargeCode bean holds descriptive information about a billable charge code.
 * Since each ChargeCode is part of a larger project, the parent project can be
 * accessed from the charge code.
 * ChargeCodeBean is the actual entity bean implementation.
 */
public abstract class ChargeCodeBean extends BasicEntityBean implements ChargeCodeInt
{
  /** CMP fields */
  public abstract long getId();
  public abstract void setId(long id);
  public abstract String getName();
  public abstract void setName(String name);
  public abstract String getDescription();
  public abstract void setDescription(String desc);

  /** CMR fields*/
  public abstract ProjectLocal getProject();
  public abstract void setProject(ProjectLocal project);

  public ChargeCodeBean()
  {
  }

  /** Create an ChargeCodeBean with the specified parameters. This is never called directly. */
  public ChargeCodePK ejbCreate(long id, String name, String description,
                          ProjectLocal project) throws CreateException
  {
    setId(id);
    setName(name);
    setDescription(description);
    return null;
  }

  /** Actions performed after creation. This is never called directly. */
  public void ejbPostCreate(long id, String name, String description,
                            ProjectLocal project)
  {
    setProject(project);
  }
}

⌨️ 快捷键说明

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