booking system

  1. /*
  2.  * Mode.java
  3.  * The package reservation contains the different class allowing to choose the action to realise.
  4.  */
  5.  
  6. package reservation;
  7. /**
  8.  * This interface uniform the way to call each sub-class.
  9.  * It calls the method process of the class CustomDialog or Command according to the instantiation of this interface.
  10.  * Also it masks the machinery and helps the developer who want to reuse the program.
  11.  * @author Texier Mathieu and Frederic Bidon
  12.  */
  13.  
  14. public interface Mode{
  15.     /**Integer defining the QUIET level of verbosity.*/
  16.     static final public int QUIET = 1;
  17.     /**Integer defining the NORMAL level of verbosity.*/
  18.     static final public int NORMAL = 2;
  19.     /**Integer defining the HIGH level of verbosity.*/
  20.     static final public int HIGH = 3;
  21.     /**Integer defining the DEBUG level of verbosity.*/
  22.     static final public int DEBUG = 4;
  23.    
  24.     /**
  25.      * Open the dialog mode
  26.      */    
  27.     public void process();
  28. }
  29.  

contact - link to this site