Overview | Package | Class | Use | Tree | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
DataClasses.Stock_Data

Packages that use Stock_Data
AppletInterface |
DatabaseCommunication |
DataClasses |
Validators |
XmlCommunication |

Uses of Stock_Data in AppletInterface

Fields in AppletInterface declared as Stock_Data
`private Stock_Data[]` | `UpdateFrame.listed`
`private Stock_Data[]` | `UpdateFrame.interested`
`private Stock_Data[]` | `StockTradingApplication.stocks`
`private Stock_Data[]` | `RegisterFrame.stocks`
`private Stock_Data` | `RegisterFrame.stock`
`private Stock_Data[]` | `OwnershipFrame.totalstocks`
`private Stock_Data[]` | `MainFrame.interested`
`private Stock_Data[]` | `MainFrame.totalstocks`

Methods in AppletInterface that return Stock_Data
`private Stock_Data[]` | `UpdateFrame.getStocks(java.lang.String[] names)` This method is being used for getting all the stocks specified by the names.
`Stock_Data[]` | `StockTradingApplication.getStocks()` Method: getStocks This method is being used for getting all the stocks.
`private Stock_Data[]` | `RegisterFrame.getStocks(java.lang.String[] names)` This utility method is being used for getting the stocks details based on the given names.
`private Stock_Data` | `OwnershipFrame.getStock(java.lang.String name)` Method: getStock This utility method is being used for getting stock details specified by the stock name.
`private Stock_Data[]` | `MainFrame.getStocks(java.lang.String[] names)` This method is being used as a utility method to get the stocks defined by the names.
`private Stock_Data` | `MainFrame.getStock(java.lang.String name)` This method is being used as a utility method to get a specified stock given a stock name.

Methods in AppletInterface with parameters of type Stock_Data
`void` | `MainFrame.calculatePERatio(Stock_Data stock)` This method is being used for calculating the PERatio of the given stock.
`void` | `MainFrame.calculateDividendYield(Stock_Data stock)` This method is being used for calculating the dividend yield for a given stock.

Uses of Stock_Data in DatabaseCommunication

Methods in DatabaseCommunication that return Stock_Data
`Stock_Data[]` | `StockManager.readAllStocks()` Method: readAllStocks This method is being used for reading all the stocks resident in the application database.

Uses of Stock_Data in DataClasses

Fields in DataClasses declared as Stock_Data
`private Stock_Data[]` | `User_Data.stocksInterested`

Methods in DataClasses that return Stock_Data
`Stock_Data[]` | `User_Data.getStocksInterested()` This method is being used for getting the interested stocks for the user.

Methods in DataClasses with parameters of type Stock_Data
`void` | `User_Data.setStocksInterested(Stock_Data[] stocksI)` This method is being used for setting the interested stocks for the user.

Constructors in DataClasses with parameters of type Stock_Data
`User_Data(java.lang.String type, java.lang.String first, java.lang.String last, java.lang.String org, java.lang.String un, java.lang.String pwd, java.lang.String pwd2, java.lang.String pre, java.lang.String account, Stock_Data[] interests)` This is the constructor for User_Data.java

Uses of Stock_Data in Validators

Methods in Validators with parameters of type Stock_Data
`boolean` | `QuantityValidator.validate(User_Data user, Stock_Data stock)` This method is being used for validating the quantity of the stocks owned for the given user.
`boolean` | `AccountValidator.validate(User_Data userdata, Stock_Data stockdata)` This method is being used for validating the account and and the stock details of the given user.

Uses of Stock_Data in XmlCommunication

Methods in XmlCommunication with parameters of type Stock_Data
`java.lang.String` | `XmlGenerator.transactionPurchaseXml(Stock_Data stock, User_Data user, UserAddress_Data address)` This method is being used for the compilation of transaction purchase xml packet which is used to identify a purchase order.
`java.lang.String` | `XmlGenerator.transactionSettlementXml(User_Data user, CreditCard_Data card, Stock_Data stock)` This method is being used for the compilation of transaction settlement xml packet which asks for the confirmation of the transaction.

Overview | Package | Class | Use | Tree | Index | Help
PREV NEXT | FRAMES NO FRAMES