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

📄 teacher.java

📁 精通Java核心技术源代码
💻 JAVA
字号:
// ==================== Program Discription ==========================
//   程序名称:示例18-13 : Teacher.java
//   程序目的:实体Bean Remote接口
// ==============================================================

import java.rmi.RemoteException;
import javax.ejb.*;

public interface Teacher extends EJBObject
{
    
    public String getId()throws RemoteException;
    /**
     * @J2EE_METHOD  --  getDegree
     */
    public String getDegree    () throws RemoteException;
    
    /**
     * @J2EE_METHOD  --  setDegree
     */
    public void setDegree    (String newDegree) throws RemoteException;
    
    /**
     * @J2EE_METHOD  --  getStudents
     */
    public java.util.Collection getStudents    () throws RemoteException;
    
    /**
     * @J2EE_METHOD  --  setStudents
     */
    public void setStudents    (java.util.Collection newStudents) throws RemoteException;
    
    /**
     * @J2EE_METHOD  --  getDepartment
     */
    public String getDepartment    () throws RemoteException;
    
    /**
     * @J2EE_METHOD  --  setDepartment
     */
    public void setDepartment    (String newDepartment) throws RemoteException;
    
    /**
     * @J2EE_METHOD  --  getAddress
     */
    public Address getAddress    () throws RemoteException;
    
    /**
     * @J2EE_METHOD  --  setAddress
     */
    public void setAddress    (Address newAddress) throws RemoteException;
}

⌨️ 快捷键说明

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