|
Videoautomat | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSaleProcess
videoautomat.SaleProcessHandBack
public class SaleProcessHandBack
This class implements a SaleProcess
to hand back the videos.
Constructor Summary | |
---|---|
SaleProcessHandBack()
Constructs a new SaleProcessHandBack |
Method Summary | |
---|---|
Gate |
getChangeGate()
|
NumberValue |
getChangeMoneyNumberValue()
Get the NumberValue representing the change money. |
protected Gate |
getInitialGate()
Implementation of the inherited abstract method. |
MoneyBag |
getTemporaryChangeMoneyBag()
Get the MoneyBag to temporarily store the change money. |
|
getTemporaryVideosStoringStock()
Get the StoringStock to store temporary videos. |
Gate |
restart()
Returns the initial Gate. |
void |
setChangeMoneyNumberValue(NumberValue changeMoneyNumberValue)
Set the NumberValue representing the change money. |
void |
setTemporaryChangeMoneyBag(MoneyBag temporaryChangeMoneyBag)
Set the MoneyBag to temporarily store the change money. |
void |
setTemporaryVideosStoringStock(
Set the StoringStock to store temporary videos. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SaleProcessHandBack()
SaleProcessHandBack
Method Detail |
---|
protected Gate getInitialGate()
Gate
where the user will see his/her current rented videos.sale.SaleProcess#getInitialGate()
public Gate restart()
public Gate getChangeGate()
Gate
where the user will see his/her change money.publicgetTemporaryVideosStoringStock()
public void setTemporaryVideosStoringStock(temporaryVideosStoringStock)
temporaryVideosStoringStock
- the StoringStock to store temporary videospublic MoneyBag getTemporaryChangeMoneyBag()
public void setTemporaryChangeMoneyBag(MoneyBag temporaryChangeMoneyBag)
temporaryChangeMoneyBag
- the MoneyBag to temporarily store the change moneypublic NumberValue getChangeMoneyNumberValue()
public void setChangeMoneyNumberValue(NumberValue changeMoneyNumberValue)
changeMoneyNumberValue
- the NumberValue representing the change money
|
Videoautomat | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |