DatabaseCommunication
Class CoffeeManager

java.lang.Object
  extended byDatabaseCommunication.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.