?? 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 + -