Class GiveBackProcess

java.lang.Object
  |
  +--SaleProcess
        |
        +--GiveBackProcess

public class GiveBackProcess
extends SaleProcess

Rückgabeprocess, der von einem registrierten Kunden am Automaten durchgeführt werden kann.

See Also:
Serialized Form

Field Summary
protected  UIGate capabilityGate
           
protected  UIGate giveRestGate
           
protected  java.util.Currency myCurrency
           
protected  UIGate selectionGate
           
protected  Transition toGetMoneyTransition
           
protected  Transition toSelectionTransition
           
 
Constructor Summary
GiveBackProcess()
          Erzeugt ein neues Objekt der Klasse GiveBackProcess.
 
Method Summary
 Gate getInitialGate()
          Gibt das Startgate des Prozesses zurück.
 Gate getLogGate()
          Übergibt das Log-Gate.
protected  void setupMachine()
          Baut die Oberfläche für den Rückgabevorgang auf.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

capabilityGate

protected UIGate capabilityGate

selectionGate

protected UIGate selectionGate

giveRestGate

protected UIGate giveRestGate

toSelectionTransition

protected Transition toSelectionTransition

toGetMoneyTransition

protected Transition toGetMoneyTransition

myCurrency

protected java.util.Currency myCurrency
Constructor Detail

GiveBackProcess

public GiveBackProcess()
Erzeugt ein neues Objekt der Klasse GiveBackProcess.

Method Detail

setupMachine

protected void setupMachine()
Baut die Oberfläche für den Rückgabevorgang auf.


getInitialGate

public Gate getInitialGate()
Gibt das Startgate des Prozesses zurück.


getLogGate

public Gate getLogGate()
Übergibt das Log-Gate. Hier das Stop-Gate, da beim Beenden des Prozesses kein Log-Eintrag geschrieben werden soll.