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 CoffeeManager

    java.lang.Object
      DatabaseCommunication.CoffeeManager

public class CoffeeManager
extends java.lang.Object

Author:
  student This class is being used for communicating with the application database relating to information relevant to Coffee.

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

Constructor Summary
`CoffeeManager()` This is the contructor for CoffeeManager.java This class manages communication with the application database that is related to coffees.

Method Summary
`Coffee_Data[]` | `readAllCoffees()` This method is being used for obtaining all the coffee types existing 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

### CoffeeManager

    public CoffeeManager()

  This is the contructor for CoffeeManager.java This class manages communication with the application database that is related to coffees.

Method Detail

### readAllCoffees

    public Coffee_Data[] readAllCoffees()

  This method is being used for obtaining all the coffee types existing in the application database.

  Returns:
    Coffee_Data[] All the coffee data that is stored in the application database.

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