📄 tradedetailslocal.java
字号:
/*
* @author : Pushkala
* @version : 1.0
*
* Development Environment : Oracle9i JDeveloper
*
* Name of the File : TradeDetailsLocal.java
*
* Creation / Modification History
* Pushkala 26-Apr-2002 Created
*
*/
package oracle.otnsamples.ibfbs.trademanagement.ejb;
import java.util.Date;
/**
* This is the Local EJB interface to access the TRADEDETAILS entity
* This acts as local interface for the TradeDetailsBean which is a local
* EJB Object. UserAccount is an Entity Object. Every User Account can have
* multiple Trade Details and this 1:N relationship between User Account
* Entity Bean and TradeDetails 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 'TradeManagementSessionFacadeBean' 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 TradeDetailsLocal extends javax.ejb.EJBLocalObject {
// Declare the remote methods invoked by the Session Facade Bean
/**
* Method to retrieve the value of Trade Id associated with the TradeDetails
*
* @return The Desired Trade Id Value
* @since 1.0
*/
public Integer getTradeId();
/**
* Method to assign the new TradeDetails value for the TradeDetails.
*
* @param tradeId Trade Id Value
* @since 1.0
*/
public void setTradeId(Integer tradeId);
/**
* Method to retrieve the value of AccountNumber associated with TradeDetails
*
* @return The Desired Account Number Value
* @since 1.0
*/
public Integer getAccountNumber();
/**
* Method to assign the new AccountNumber value for the TradeDetails.
*
* @param accountNumber New Account Number Value
* @since 1.0
*/
public void setAccountNumber(Integer accountNumber);
/**
* Method to retrieve the value of Action associated with the TradeDetails
*
* @return The Action corresponding to the TradeDetails
* @since 1.0
*/
public String getAction();
/**
* Method to assign the new Action for the TradeDetails.
*
* @param action Action Value
* @since 1.0
*/
public void setAction(String action);
/**
* Method to retrieve the Stock Quantity associated with the TradeDetails
*
* @return The Desired Stock Quantity Value
* @since 1.0
*/
public Integer getQuantity();
/**
* Method to assign the new Quantity value for the TradeDetails.
*
* @param quantity Quantity Value
* @since 1.0
*/
public void setQuantity(Integer quantity);
/**
* Method to retrieve the Trade Date associated with the TradeDetails
*
* @return The Desired Trade Date Value
* @since 1.0
*/
public Date getTradeDate();
/**
* Method to assign the Trade Date value for the TradeDetails.
*
* @param tradeDate Trade Date Value
* @since 1.0
*/
public void setTradeDate(Date tradeDate);
/**
* Method to retrieve the value of Stock Price associated with TradeDetails
*
* @return The Desired Stock Price Value
* @since 1.0
*/
public float getPrice();
/**
* Method to assign the new Stock Price value for the TradeDetails.
*
* @param price Stock Price Value
* @since 1.0
*/
public void setPrice(float price);
/**
* Method to retrieve the value of Stock Symbol associated with TradeDetails
*
* @return The Desired Stock Symbol Value
* @since 1.0
*/
public String getSymbol();
/**
* Method to assign the Stock Symbol for the TradeDetails.
*
* @param symbol Stock Symbol Value
* @since 1.0
*/
public void setSymbol(String symbol);
/**
* Method to retrieve the Order Type associated with the TradeDetails
*
* @return The Desired Order Type Value
* @since 1.0
*/
public String getOrderType();
/**
* Method to assign the Order Type value for the TradeDetails.
*
* @param orderType Order Type Value
* @since 1.0
*/
public void setOrderType(String orderType);
/**
* Method to retrieve the value of Status associated with the TradeDetails
*
* @return The Desired Status Value
* @since 1.0
*/
public String getStatus();
/**
* Method to assign the status value for the TradeDetails.
*
* @param status Status Value
* @since 1.0
*/
public void setStatus(String status);
/**
* Method to retrieve the value of Exchange Id associated with TradeDetails
*
* @return The Value of Exchange Id with which the Trade is associated
* @since 1.0
*/
public Integer getExchangeId();
/**
* Method to assign the Exchange Id value for the TradeDetails.
*
* @param exchangeId Exchange Id Value
* @since 1.0
*/
public void setExchangeId(Integer exchangeId);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -