📄 preferenceslocal.java
字号:
/*
* @author : Umesh Kulkarni
* @version 1.0
*
* Development Environment : Oracle9i JDeveloper
*
* Name of the File : PreferencesLocal.java
*
* Creation / Modification History
* Umesh 26-Apr-2002 Created
*
*/
package oracle.otnsamples.ibfbs.usermanagement.ejb;
/**
* This Class acts as remote local interface for the PreferenceBean which is
* a local EJB Object. UserAccount is an Entity Object. Every User Account
* can have multiple Preferences and this 1:N relationship between User Account
* Entity Bean and Preferences Bean is managed by the OC4J 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 PreferencesLocal extends javax.ejb.EJBLocalObject {
/**
* Method to retrieve the value of AccountNumber associated with Preference
*
* @return The Desired Account Number Value
* @since 1.0
*/
public Integer getAccountNumber();
/**
* Method to assign the new AccountNumber value in the Preference Setting.
*
* @param accountNumber New Account Number Value
* @since 1.0
*/
public void setAccountNumber(Integer accountNumber);
/**
* Method to retrieve the value of Stock Symbol associated with Preference
*
* @return The Desired Stock Symbol Value
* @since 1.0
*/
public String getSymbol();
/**
* Method to assign the new Symbol value in the Preference Setting.
*
* @param symbol New Symbol Value
* @since 1.0
*/
public void setSymbol(String symbol);
/**
* Method to retrieve the value of Preference Type associated with Preference
*
* @return The Desired Stock Symbol Value
* @since 1.0
*/
public String getPrefType();
/**
* Method to assign the new Preference Type value in the Preference Setting.
*
* @param symbol New Preference Type Value
* @since 1.0
*/
public void setPrefType(String prefType);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -