Class RentProcess

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

public class RentProcess
extends SaleProcess

Verkaufs- bzw. Verleihprozess, der von einem registrierten Kunden am Automaten durchgeführt werden kann.

See Also:
Serialized Form

Field Summary
protected  UIGate capabilityGate
           
protected  Gate decisionGate
           
protected  UIGate getChangeGate
           
protected  UIGate rentGate
           
protected  UIGate selectionGate
           
protected  Transition toDecisionTransition
           
protected  Transition toGetChangeTransition
           
protected  Transition toPayingTransition
           
protected  Transition toSelectionTransition
           
 
Constructor Summary
RentProcess()
          Erzeugt ein neues Objekt der Klasse RentProcess.
 
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 Verleihvorgang 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

rentGate

protected UIGate rentGate

decisionGate

protected Gate decisionGate

getChangeGate

protected UIGate getChangeGate

toSelectionTransition

protected Transition toSelectionTransition

toPayingTransition

protected Transition toPayingTransition

toDecisionTransition

protected Transition toDecisionTransition

toGetChangeTransition

protected Transition toGetChangeTransition
Constructor Detail

RentProcess

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

Method Detail

setupMachine

protected void setupMachine()
Baut die Oberfläche für den Verleihvorgang 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.