videoautomat
Class SaleProcessRent
java.lang.Object
SaleProcess
videoautomat.SaleProcessRent
public class SaleProcessRent
- extends SaleProcess
This class implements a SaleProcess
used to rent videos.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SUB_SHOP_VIDEO
public static final String SUB_SHOP_VIDEO
- See Also:
- Constant Field Values
SUB_USER_VIDEO
public static final String SUB_USER_VIDEO
- See Also:
- Constant Field Values
SUB_TMP_MONEY
public static final String SUB_TMP_MONEY
- See Also:
- Constant Field Values
SUB_SHOP_MONEY
public static final String SUB_SHOP_MONEY
- See Also:
- Constant Field Values
MB_TEMP_KEY
public static final String MB_TEMP_KEY
- Key to the temp money bag for the porcess data of the process context
- See Also:
- Constant Field Values
SUM_KEY
public static final String SUM_KEY
- See Also:
- Constant Field Values
SaleProcessRent
public SaleProcessRent()
- Constructs a new SaleProcessRent
getInitialGate
protected Gate getInitialGate()
- Implementation of the inherited abstract method.
- Returns:
- a
Gate
where the user makes a selection - See Also:
sale.SaleProcess#getInitialGate()
restart
public Gate restart()
getPayGate
public Gate getPayGate()
- Returns:
- a
Gate
where the money gets inserted
getConfirmGate
public Gate getConfirmGate()
- Returns:
- a
Gate
where the selected videos and the change money is shown