Overview | Package | Class | Use | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## DatabaseCommunication
Class StockManager

    java.lang.Object
      DatabaseCommunication.StockManager

public class StockManager
extends java.lang.Object

Author:
  student This class is being used for managing stocks in the application database.

Field Summary
`private java.sql.Connection` | `con`

Constructor Summary
`StockManager()` This is the constructor for StockManager.java

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

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### con

    private java.sql.Connection con

Constructor Detail

### StockManager

    public StockManager()

  This is the constructor for StockManager.java

Method Detail

### readAllStocks

    public Stock_Data[] readAllStocks()

  Method: readAllStocks This method is being used for reading all the stocks resident in the application database.

  Returns:
    Stock_Data[] The set of all retrieved stocks.

Overview | Package | Class | Use | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD