Videoautomat

videoautomat
Class SaleProcessHandBack

java.lang.Object
  extended by SaleProcess
      extended by videoautomat.SaleProcessHandBack

public class SaleProcessHandBack
extends SaleProcess

This class implements a SaleProcess to hand back the videos.

Author:
Alexander Herrmann

Field Summary
static String CHG_MONEY_KEY
           
static String MB_TEMP_KEY
           
static String SS_TEMP_KEY
           
 
Constructor Summary
SaleProcessHandBack()
          Constructs a new SaleProcessHandBack
 
Method Summary
 Gate getChangeGate()
           
protected  Gate getInitialGate()
          Implementation of the inherited abstract method.
 Gate restart()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SS_TEMP_KEY

public static final String SS_TEMP_KEY
See Also:
Constant Field Values

MB_TEMP_KEY

public static final String MB_TEMP_KEY
See Also:
Constant Field Values

CHG_MONEY_KEY

public static final String CHG_MONEY_KEY
See Also:
Constant Field Values
Constructor Detail

SaleProcessHandBack

public SaleProcessHandBack()
Constructs a new SaleProcessHandBack

Method Detail

getInitialGate

protected Gate getInitialGate()
Implementation of the inherited abstract method.

Returns:
the Gate where the user will see his/her current rented videos.
See Also:
sale.SaleProcess#getInitialGate()

restart

public Gate restart()

getChangeGate

public Gate getChangeGate()
Returns:
the Gate where the user will see his/her change money.

Videoautomat