📄 readerinforemoteint.java
字号:
package library.ejb;
import java.util.*;
import java.rmi.RemoteException;
import javax.ejb.EJBObject;
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
//这是Entity Bean的Remote接口
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
public interface ReaderInfoRemoteInt extends EJBObject
{
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
//建立三个business方法:setReaderInfo(),setCardID(),setPassword()
//这三个business方法必须与Bean Class中的business方法相对应
//这三个方法用来获取用户提交的数据。
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
public void setReaderInfo(String readname,String cardid,String password,String Address,String email) throws RemoteException;
public void setReadName(String readname) throws RemoteException;
public void setCardID(String cardid) throws RemoteException;
public void setPassword(String password) throws RemoteException;
public void setAddress(String address) throws RemoteException;
public void setEmail(String email) throws RemoteException;
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
//建立三个business方法:getReaderInfo(),getCardID(),getPassword()
//getReaderInfo()方法返回Hashtable类型的数据,其余两个方法返回String类型
//这三个business方法必须与Bean Class中的business方法相对应
//这三个方法用来返回服务器端的数据。
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
public Hashtable getReaderInfo() throws RemoteException;
public String getReadName() throws RemoteException;
public String getCardID() throws RemoteException;
public String getPassword() throws RemoteException;
public String getAddress() throws RemoteException;
public String getEmail() throws RemoteException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -