📄 alertslocal.java
字号:
/*
* @author : Umesh Kulkarni
* @version 1.0
*
* Development Environment : Oracle9i JDeveloper
*
* Name of the File : AlertsLocal.java
*
* Creation / Modification History
* Umesh 26-Apr-2002 Created
*
*/
package oracle.otnsamples.ibfbs.usermanagement.ejb;
/**
* This Class acts as remote local interface for the AlertsBean which is a
* local EJB Object. UserAccount is an Entity Object. Every User Account
* can have multiple Alerts and this 1:N relationship between User Account
* Entity Bean and Alerts Bean is managed by the EJB Container.
*
* This new feature called CMR (Container Managed RelationShips) is a new
* feature added in EJB 2.0 Specification.
*
* Note that the JSP/Servlet Clients never invoke the Local Objects directly.
* Session Bean namely 'UserManagementSessionFacadeBean' invokes the methods
* on this Local Objects on the behalf of outside clients.
* This pattern is called as Session Facade Pattern
*
* @version 1.0
* @since 1.0
*/
public interface AlertsLocal extends javax.ejb.EJBLocalObject {
/**
* Method to retrieve the value of AccountNumber associated with the Alert
*
* @return The Desired Account Number Value
* @since 1.0
*/
public Integer getAccountNumber();
/**
* Method to assign the new AccountNumber value in the Alert Setting.
* @param accountNumber Account Number Value in the Alert Setting
* @since 1.0
*/
public void setAccountNumber(Integer accountNumber);
/**
* Method to retrieve the value of Stock Symbol associated with the Alert
*
* @return The Desired Stock Symbol Value
* @since 1.0
*/
public String getSymbol();
/**
* Method to assign the new Symbol value in the Alert Setting.
* @param symbol Symbol Value for which Alert Need to set
* @since 1.0
*/
public void setSymbol(String symbol);
/**
* Method to retrieve the value of Minumum Limit for the Alert.
* The minimum limit of the alert means when the stock price of the symbol
* drops below this minumum price, the user should be notified.
*
* @return The Desired Minimum Limit Value.
* @since 1.0
*/
public Integer getMinLimit();
/**
* Method to assign the new Minimum Limit value in the Alert Setting.
* @param minLimit Minimum Limit Value of this Alert Setting
* @since 1.0
*/
public void setMinLimit(Integer minLimit);
/**
* Method to retrieve the value of Maximum Limit for the Alert.
* The maximum limit of the alert means when the stock price of the symbol
* raised above this maximum price, the user should be notified.
*
* @return The Desired Maximum Limit Value.
* @since 1.0
*/
public Integer getMaxLimit();
/**
* Method to assign the new Maximum Limit value in the Alert Setting.
* @param maxLimit Maximum Limit Value in the Alert Setting
* @since 1.0
*/
public void setMaxLimit(Integer maxLimit);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -