All Packages Class Hierarchy
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
Index of all Fields and Methods
- acceptEnvelope().
Method in class atm.physical.EnvelopeAcceptor
- Accept an envelope from customer.
- acceptEnvelope().
Method in class atm.physical.EnvelopeAcceptor
- Accept an envelope from customer.
- ACCOUNT_ABBREVIATIONS.
Static variable in class banking.AccountInformation
- Abbreviations for account names to be printed on receipts.
- ACCOUNT_NAMES.
Static variable in class banking.AccountInformation
- Names for accounts to be offered in menu to customer
- AccountInformation().
Constructor for class banking.AccountInformation
-
- add(Money).
Method in class banking.Money
- Add an amount of money to this
- amount.
Variable in class atm.transaction.Deposit
- Amount of money to deposit
- amount.
Variable in class atm.transaction.Deposit
- Amount of money to deposit
- amount.
Variable in class banking.Message
- Transaction amount specified by customer - if needed (else $0.00)
- amount.
Variable in class atm.transaction.Transfer
- Amount of money to transfer
- amount.
Variable in class atm.transaction.Transfer
- Amount of money to transfer
- amount.
Variable in class atm.transaction.Withdrawal
- Amount of money to withdraw
- amount.
Variable in class atm.transaction.Withdrawal
- Amount of money to withdraw
- ASKING_DO_ANOTHER_STATE.
Static variable in class atm.transaction.Transaction
- Asking if customer wants to do another transaction
- ASKING_DO_ANOTHER_STATE.
Static variable in class atm.transaction.Transaction
- Asking if customer wants to do another transaction
- atm.
Variable in class atm.physical.CardReader
- The ATM to which this card reader belongs
- atm.
Variable in class atm.physical.CardReader
- The ATM to which this card reader belongs
- atm.
Variable in class atm.physical.OperatorPanel
- ATM this panel is part of.
- atm.
Variable in class atm.physical.OperatorPanel
- ATM this panel is part of.
- atm.
Variable in class atm.Session
- The ATM on which the session is performed
- atm.
Variable in class atm.Session
- The ATM on which the session is performed
- atm.
Variable in class atm.transaction.Transaction
- ATM to use for communication with the customer
- atm.
Variable in class atm.transaction.Transaction
- ATM to use for communication with the customer
- ATM(int, String, String, InetAddress).
Constructor for class atm.ATM
- Constructor
- ATM(int, String, String, InetAddress).
Constructor for class atm.ATM
- Constructor
- available.
Variable in class banking.Balances
- Current available balance in the account
- balances.
Variable in class atm.transaction.Transaction
- Used to return account balances from the bank
- balances.
Variable in class atm.transaction.Transaction
- Used to return account balances from the bank
- Balances().
Constructor for class banking.Balances
- Constructor.
- balancesPortion.
Variable in class banking.Receipt
- Ending balances portion of the receipt - common to all forms of receipt
- bankAddress.
Variable in class atm.ATM
- Internet address of the bank
- bankAddress.
Variable in class atm.ATM
- Internet address of the bank
- bankAddress.
Variable in class atm.physical.NetworkToBank
-
- bankAddress.
Variable in class atm.physical.NetworkToBank
-
- bankName.
Variable in class atm.ATM
- Name of the bank owning this ATM
- bankName.
Variable in class atm.ATM
- Name of the bank owning this ATM
- card.
Variable in class banking.Message
- The customer's card
- card.
Variable in class atm.transaction.Transaction
- Customer card for the session this transaction is part of
- card.
Variable in class atm.transaction.Transaction
- Customer card for the session this transaction is part of
- Card(int).
Constructor for class banking.Card
- Constructor
- cardInserted.
Variable in class atm.ATM
- Becomes true when the card reader informs the ATM that a card has been
inserted - the ATM will make this false when it has tried to read the
card
- cardInserted.
Variable in class atm.ATM
- Becomes true when the card reader informs the ATM that a card has been
inserted - the ATM will make this false when it has tried to read the
card
- cardInserted().
Method in class atm.ATM
- Inform the ATM that a card has been inserted into the card reader.
- cardInserted().
Method in class atm.ATM
- Inform the ATM that a card has been inserted into the card reader.
- cardReader.
Variable in class atm.ATM
- The ATM's card reader
- cardReader.
Variable in class atm.ATM
- The ATM's card reader
- CardReader(ATM).
Constructor for class atm.physical.CardReader
- Constructor
- CardReader(ATM).
Constructor for class atm.physical.CardReader
- Constructor
- cashDispenser.
Variable in class atm.ATM
- The ATM's cash dispenser
- cashDispenser.
Variable in class atm.ATM
- The ATM's cash dispenser
- CashDispenser(Log).
Constructor for class atm.physical.CashDispenser
- Constructor
- CashDispenser(Log).
Constructor for class atm.physical.CashDispenser
- Constructor
- cashOnHand.
Variable in class atm.physical.CashDispenser
- Current cash on hand
- cashOnHand.
Variable in class atm.physical.CashDispenser
- Current cash on hand
- cents.
Variable in class banking.Money
- Instance variable: this amount represented as a number of cents
- checkCashOnHand(Money).
Method in class atm.physical.CashDispenser
- See if there is enough cash on hand to satisfy a request
- checkCashOnHand(Money).
Method in class atm.physical.CashDispenser
- See if there is enough cash on hand to satisfy a request
- CHOOSING_TRANSACTION_STATE.
Static variable in class atm.Session
- Asking the customer to choose a transaction type
- CHOOSING_TRANSACTION_STATE.
Static variable in class atm.Session
- Asking the customer to choose a transaction type
- closeConnection().
Method in class atm.physical.NetworkToBank
- Close connection to bank at system shutdown
- closeConnection().
Method in class atm.physical.NetworkToBank
- Close connection to bank at system shutdown
- COMPLETE_DEPOSIT.
Static variable in class banking.Message
- messageCode value for a message completing a deposit (envelope received).
- completeTransaction().
Method in class atm.transaction.Deposit
- Complete an approved transaction
- completeTransaction().
Method in class atm.transaction.Deposit
- Complete an approved transaction
- completeTransaction().
Method in class atm.transaction.Inquiry
- Complete an approved transaction
- completeTransaction().
Method in class atm.transaction.Inquiry
- Complete an approved transaction
- completeTransaction().
Method in class atm.transaction.Transaction
- Complete an approved transaction - each subclass must implement
this appropriately.
- completeTransaction().
Method in class atm.transaction.Transaction
- Complete an approved transaction - each subclass must implement
this appropriately.
- completeTransaction().
Method in class atm.transaction.Transfer
- Complete an approved transaction
- completeTransaction().
Method in class atm.transaction.Transfer
- Complete an approved transaction
- completeTransaction().
Method in class atm.transaction.Withdrawal
- Complete an approved transaction
- completeTransaction().
Method in class atm.transaction.Withdrawal
- Complete an approved transaction
- COMPLETING_TRANSACTION_STATE.
Static variable in class atm.transaction.Transaction
- Completing transaction
- COMPLETING_TRANSACTION_STATE.
Static variable in class atm.transaction.Transaction
- Completing transaction
- customerConsole.
Variable in class atm.ATM
- The ATM's customer console
- customerConsole.
Variable in class atm.ATM
- The ATM's customer console
- CustomerConsole().
Constructor for class atm.physical.CustomerConsole
- Constructor
- CustomerConsole().
Constructor for class atm.physical.CustomerConsole
- Constructor
- Deposit(ATM, Session, Card, int).
Constructor for class atm.transaction.Deposit
- Constructor
- Deposit(ATM, Session, Card, int).
Constructor for class atm.transaction.Deposit
- Constructor
- detailsPortion.
Variable in class banking.Receipt
- Transaction details portion of the receipt - specific to each type of
transaction, and therefore filled in by subclasses
- dispenseCash(Money).
Method in class atm.physical.CashDispenser
- Dispense cash to a customer
- dispenseCash(Money).
Method in class atm.physical.CashDispenser
- Dispense cash to a customer
- display(String).
Method in class atm.physical.CustomerConsole
- Display a message to the customer
- display(String).
Method in class atm.physical.CustomerConsole
- Display a message to the customer
- ejectCard().
Method in class atm.physical.CardReader
- Eject the card that is currently inside the reader.
- ejectCard().
Method in class atm.physical.CardReader
- Eject the card that is currently inside the reader.
- EJECTING_CARD_STATE.
Static variable in class atm.Session
- Ejecting the customer's card
- EJECTING_CARD_STATE.
Static variable in class atm.Session
- Ejecting the customer's card
- envelopeAcceptor.
Variable in class atm.ATM
- The ATM's envelope acceptor
- envelopeAcceptor.
Variable in class atm.ATM
- The ATM's envelope acceptor
- EnvelopeAcceptor(Log).
Constructor for class atm.physical.EnvelopeAcceptor
- Constructor
- EnvelopeAcceptor(Log).
Constructor for class atm.physical.EnvelopeAcceptor
- Constructor
- FINAL_STATE.
Static variable in class atm.Session
- Session finished
- FINAL_STATE.
Static variable in class atm.Session
- Session finished
- from.
Variable in class atm.transaction.Inquiry
- Account to inquire about
- from.
Variable in class atm.transaction.Inquiry
- Account to inquire about
- from.
Variable in class atm.transaction.Transfer
- Accounts to transfer from
- from.
Variable in class atm.transaction.Transfer
- Accounts to transfer from
- from.
Variable in class atm.transaction.Withdrawal
- Account to withdraw from
- from.
Variable in class atm.transaction.Withdrawal
- Account to withdraw from
- fromAccount.
Variable in class banking.Message
- "From" account specified by customer - if needed (else - 1)
- getAmount().
Method in class banking.Message
- Accessor for acmount
- getAvailable().
Method in class banking.Balances
- Accessor for available balance
- getBankName().
Method in class atm.ATM
- Accessor for bank name
- getBankName().
Method in class atm.ATM
- Accessor for bank name
- getCard().
Method in class banking.Message
- Accessor for customer's card
- getCardReader().
Method in class atm.ATM
- Accessor for card reader
- getCardReader().
Method in class atm.ATM
- Accessor for card reader
- getCashDispenser().
Method in class atm.ATM
- Accessor for cash dispenser
- getCashDispenser().
Method in class atm.ATM
- Accessor for cash dispenser
- getCustomerConsole().
Method in class atm.ATM
- Accessor for customer console
- getCustomerConsole().
Method in class atm.ATM
- Accessor for customer console
- getEnvelopeAcceptor().
Method in class atm.ATM
- Accessor for envelope acceptor
- getEnvelopeAcceptor().
Method in class atm.ATM
- Accessor for envelope acceptor
- getFromAccount().
Method in class banking.Message
- Accessor for "from" account
- getID().
Method in class atm.ATM
- Accessor for id
- getID().
Method in class atm.ATM
- Accessor for id
- getInitialCash().
Method in class atm.physical.OperatorPanel
- Get the amount of cash in the cash dispenser from the operator at start up
- getInitialCash().
Method in class atm.physical.OperatorPanel
- Get the amount of cash in the cash dispenser from the operator at start up
- getLines().
Method in class banking.Receipt
- Get the individual lines to be printed.
- getLog().
Method in class atm.ATM
- Accessor for log
- getLog().
Method in class atm.ATM
- Accessor for log
- getMessage().
Method in class banking.Status
- Accessor for message describing this status (used if status is
not success)
- getMessageCode().
Method in class banking.Message
- Accessor for message code
- getNetworkToBank().
Method in class atm.ATM
- Accessor for network to bank
- getNetworkToBank().
Method in class atm.ATM
- Accessor for network to bank
- getNumber().
Method in class banking.Card
- Accessor for number
- getOperatorPanel().
Method in class atm.ATM
- Accessor for operator panel
- getOperatorPanel().
Method in class atm.ATM
- Accessor for operator panel
- getPIN().
Method in class banking.Message
- Accessor for PIN
- getPlace().
Method in class atm.ATM
- Accessor for place
- getPlace().
Method in class atm.ATM
- Accessor for place
- getReceiptPrinter().
Method in class atm.ATM
- Accessor for receipt printer
- getReceiptPrinter().
Method in class atm.ATM
- Accessor for receipt printer
- getSerialNumber().
Method in class banking.Message
- Accessor for transaction serial number
- getSerialNumber().
Method in class atm.transaction.Transaction
- Get serial number of this transaction
- getSerialNumber().
Method in class atm.transaction.Transaction
- Get serial number of this transaction
- getSpecificsFromCustomer().
Method in class atm.transaction.Deposit
- Get specifics for the transaction from the customer
- getSpecificsFromCustomer().
Method in class atm.transaction.Deposit
- Get specifics for the transaction from the customer
- getSpecificsFromCustomer().
Method in class atm.transaction.Inquiry
- Get specifics for the transaction from the customer
- getSpecificsFromCustomer().
Method in class atm.transaction.Inquiry
- Get specifics for the transaction from the customer
- getSpecificsFromCustomer().
Method in class atm.transaction.Transaction
- Get specifics for the transaction from the customer - each
subclass must implement this appropriately.
- getSpecificsFromCustomer().
Method in class atm.transaction.Transaction
- Get specifics for the transaction from the customer - each
subclass must implement this appropriately.
- getSpecificsFromCustomer().
Method in class atm.transaction.Transfer
- Get specifics for the transaction from the customer
- getSpecificsFromCustomer().
Method in class atm.transaction.Transfer
- Get specifics for the transaction from the customer
- getSpecificsFromCustomer().
Method in class atm.transaction.Withdrawal
- Get specifics for the transaction from the customer
- getSpecificsFromCustomer().
Method in class atm.transaction.Withdrawal
- Get specifics for the transaction from the customer
- GETTING_SPECIFICS_STATE.
Static variable in class atm.transaction.Transaction
- Getting specifics of the transaction from customer
- GETTING_SPECIFICS_STATE.
Static variable in class atm.transaction.Transaction
- Getting specifics of the transaction from customer
- getToAccount().
Method in class banking.Message
- Accessor for "to" account
- getTotal().
Method in class banking.Balances
- Accessor for total balance
- headingPortion.
Variable in class banking.Receipt
- Heading portion of the receipt - common to all forms of receipt
- id.
Variable in class atm.ATM
- Unique ID for this ATM
- id.
Variable in class atm.ATM
- Unique ID for this ATM
- IDLE_STATE.
Static variable in class atm.ATM
- The ATM is on, but idle.
- IDLE_STATE.
Static variable in class atm.ATM
- The ATM is on, but idle.
- INITIATE_DEPOSIT.
Static variable in class banking.Message
- messageCode value for a message initiating a deposit
- INQUIRY.
Static variable in class banking.Message
- messageCode value for an inquiry message
- Inquiry(ATM, Session, Card, int).
Constructor for class atm.transaction.Inquiry
- Constructor
- Inquiry(ATM, Session, Card, int).
Constructor for class atm.transaction.Inquiry
- Constructor
- INVALID_PIN_STATE.
Static variable in class atm.transaction.Transaction
- Performing invalid PIN extension
- INVALID_PIN_STATE.
Static variable in class atm.transaction.Transaction
- Performing invalid PIN extension
- isInvalidPIN().
Method in class banking.Status
- See if this status represents an invalid PIN
- isSuccess().
Method in class banking.Status
- See if this status represents success
- lessEqual(Money).
Method in class banking.Money
- Compare this to another amount
- log.
Variable in class atm.ATM
- The ATM's log
- log.
Variable in class atm.ATM
- The ATM's log
- log.
Variable in class atm.physical.CashDispenser
- Log into which cash amounts dispensed will be recorded
- log.
Variable in class atm.physical.CashDispenser
- Log into which cash amounts dispensed will be recorded
- log.
Variable in class atm.physical.EnvelopeAcceptor
- Log in which to record receiving an envelope
- log.
Variable in class atm.physical.EnvelopeAcceptor
- Log in which to record receiving an envelope
- log.
Variable in class atm.physical.NetworkToBank
-
- log.
Variable in class atm.physical.NetworkToBank
-
- Log().
Constructor for class atm.physical.Log
- Constructor
- Log().
Constructor for class atm.physical.Log
- Constructor
- logCashDispensed(Money).
Method in class atm.physical.Log
- Log the dispensing of cash by the cash dispenser
- logCashDispensed(Money).
Method in class atm.physical.Log
- Log the dispensing of cash by the cash dispenser
- logEnvelopeAccepted().
Method in class atm.physical.Log
- Log accepting an envelope.
- logEnvelopeAccepted().
Method in class atm.physical.Log
- Log accepting an envelope.
- logResponse(Status).
Method in class atm.physical.Log
- Log a response received from a message
- logResponse(Status).
Method in class atm.physical.Log
- Log a response received from a message
- logSend(Message).
Method in class atm.physical.Log
- Log the sending of a message to the bank
- logSend(Message).
Method in class atm.physical.Log
- Log the sending of a message to the bank
- makeTransaction(ATM, Session, Card, int).
Static method in class atm.transaction.Transaction
- Create a transaction of an appropriate type by asking the customer
what type of transaction is desired and then returning a newly-created
member of the appropriate subclass
- makeTransaction(ATM, Session, Card, int).
Static method in class atm.transaction.Transaction
- Create a transaction of an appropriate type by asking the customer
what type of transaction is desired and then returning a newly-created
member of the appropriate subclass
- message.
Variable in class atm.transaction.Transaction
- Message to bank describing this transaction
- message.
Variable in class atm.transaction.Transaction
- Message to bank describing this transaction
- Message(int, Card, int, int, int, int, Money).
Constructor for class banking.Message
- Constructor
- messageCode.
Variable in class banking.Message
- Code identifying the type of message - one of the above values
- Money(int).
Constructor for class banking.Money
- Constructor
- Money(int, int).
Constructor for class banking.Money
- Constructor
- Money(Money).
Constructor for class banking.Money
- Copy constructor
- networkToBank.
Variable in class atm.ATM
- The ATM's network connection to the bank
- networkToBank.
Variable in class atm.ATM
- The ATM's network connection to the bank
- NetworkToBank(Log, InetAddress).
Constructor for class atm.physical.NetworkToBank
- Constructor
- NetworkToBank(Log, InetAddress).
Constructor for class atm.physical.NetworkToBank
- Constructor
- nextSerialNumber.
Static variable in class atm.transaction.Transaction
- Next serial number - used to assign a unique serial number to
each transaction
- nextSerialNumber.
Static variable in class atm.transaction.Transaction
- Next serial number - used to assign a unique serial number to
each transaction
- number.
Variable in class banking.Card
- Card number encoded on the card
- OFF_STATE.
Static variable in class atm.ATM
- The ATM is off.
- OFF_STATE.
Static variable in class atm.ATM
- The ATM is off.
- openConnection().
Method in class atm.physical.NetworkToBank
- Open connection to bank at system startup
- openConnection().
Method in class atm.physical.NetworkToBank
- Open connection to bank at system startup
- operatorPanel.
Variable in class atm.ATM
- The ATM's operator panel
- operatorPanel.
Variable in class atm.ATM
- The ATM's operator panel
- OperatorPanel(ATM).
Constructor for class atm.physical.OperatorPanel
- Constructor
- OperatorPanel(ATM).
Constructor for class atm.physical.OperatorPanel
- Constructor
- PERFORMING_TRANSACTION_STATE.
Static variable in class atm.Session
- Peforming a transaction
- PERFORMING_TRANSACTION_STATE.
Static variable in class atm.Session
- Peforming a transaction
- performInvalidPINExtension().
Method in class atm.transaction.Transaction
- Perform the Invalid PIN Extension - reset session pin to new value if successful
- performInvalidPINExtension().
Method in class atm.transaction.Transaction
- Perform the Invalid PIN Extension - reset session pin to new value if successful
- performSession().
Method in class atm.Session
- Perform the Session Use Case
- performSession().
Method in class atm.Session
- Perform the Session Use Case
- performShutdown().
Method in class atm.ATM
- Perform the System Shutdown use case when switch is turned off
- performShutdown().
Method in class atm.ATM
- Perform the System Shutdown use case when switch is turned off
- performStartup().
Method in class atm.ATM
- Perform the System Startup use case when switch is turned on
- performStartup().
Method in class atm.ATM
- Perform the System Startup use case when switch is turned on
- performTransaction().
Method in class atm.transaction.Transaction
- Peform a transaction.
- performTransaction().
Method in class atm.transaction.Transaction
- Peform a transaction.
- pin.
Variable in class banking.Message
- PIN entered by customer
- pin.
Variable in class atm.Session
- The PIN entered (or re-entered) by the customer
- pin.
Variable in class atm.Session
- The PIN entered (or re-entered) by the customer
- pin.
Variable in class atm.transaction.Transaction
- PIN entered or re-entered by customer
- pin.
Variable in class atm.transaction.Transaction
- PIN entered or re-entered by customer
- place.
Variable in class atm.ATM
- Physical location of this ATM
- place.
Variable in class atm.ATM
- Physical location of this ATM
- PRINTING_RECEIPT_STATE.
Static variable in class atm.transaction.Transaction
- Printing receipt
- PRINTING_RECEIPT_STATE.
Static variable in class atm.transaction.Transaction
- Printing receipt
- printReceipt(Receipt).
Method in class atm.physical.ReceiptPrinter
- Print a receipt
- printReceipt(Receipt).
Method in class atm.physical.ReceiptPrinter
- Print a receipt
- readAmount(String).
Method in class atm.physical.CustomerConsole
- Read a money amount entered by the customer
- readAmount(String).
Method in class atm.physical.CustomerConsole
- Read a money amount entered by the customer
- readCard().
Method in class atm.physical.CardReader
- Read a card that has been partially inserted into the reader
- readCard().
Method in class atm.physical.CardReader
- Read a card that has been partially inserted into the reader
- READING_CARD_STATE.
Static variable in class atm.Session
- Reading the customer's card
- READING_CARD_STATE.
Static variable in class atm.Session
- Reading the customer's card
- READING_PIN_STATE.
Static variable in class atm.Session
- Asking the customer to enter a PIN
- READING_PIN_STATE.
Static variable in class atm.Session
- Asking the customer to enter a PIN
- readMenuChoice(String, String[]).
Method in class atm.physical.CustomerConsole
- Display a menu of options and return choice made by customer
- readMenuChoice(String, String[]).
Method in class atm.physical.CustomerConsole
- Display a menu of options and return choice made by customer
- readPIN(String).
Method in class atm.physical.CustomerConsole
- Read a PIN entered by the customer (echoed as asterisks)
- readPIN(String).
Method in class atm.physical.CustomerConsole
- Read a PIN entered by the customer (echoed as asterisks)
- Receipt(ATM, Card, Transaction, Balances).
Constructor for class banking.Receipt
- Constructor.
- receiptPrinter.
Variable in class atm.ATM
- The ATM's receipt printer
- receiptPrinter.
Variable in class atm.ATM
- The ATM's receipt printer
- ReceiptPrinter().
Constructor for class atm.physical.ReceiptPrinter
- Constructor
- ReceiptPrinter().
Constructor for class atm.physical.ReceiptPrinter
- Constructor
- retainCard().
Method in class atm.physical.CardReader
- Retain the card that is currently inside the reader for action by the
bank.
- retainCard().
Method in class atm.physical.CardReader
- Retain the card that is currently inside the reader for action by the
bank.
- run().
Method in class atm.ATM
- The main program/applet will create a Thread that executes
this code.
- run().
Method in class atm.ATM
- The main program/applet will create a Thread that executes
this code.
- SENDING_TO_BANK_STATE.
Static variable in class atm.transaction.Transaction
- Sending transaction to bank
- SENDING_TO_BANK_STATE.
Static variable in class atm.transaction.Transaction
- Sending transaction to bank
- sendMessage(Message, Balances).
Method in class atm.physical.NetworkToBank
- Send a message to bank
- sendMessage(Message, Balances).
Method in class atm.physical.NetworkToBank
- Send a message to bank
- serialNumber.
Variable in class banking.Message
- Serial number of the transaction
- serialNumber.
Variable in class atm.transaction.Transaction
- Serial number of this transaction
- serialNumber.
Variable in class atm.transaction.Transaction
- Serial number of this transaction
- SERVING_CUSTOMER_STATE.
Static variable in class atm.ATM
- The ATM is servicing a customer.
- SERVING_CUSTOMER_STATE.
Static variable in class atm.ATM
- The ATM is servicing a customer.
- session.
Variable in class atm.transaction.Transaction
- Session in which this transaction is being performed
- session.
Variable in class atm.transaction.Transaction
- Session in which this transaction is being performed
- Session(ATM).
Constructor for class atm.Session
- Constructor
- Session(ATM).
Constructor for class atm.Session
- Constructor
- setBalances(Money, Money).
Method in class banking.Balances
- Mutator.
- setInitialCash(Money).
Method in class atm.physical.CashDispenser
- Set the amount of cash initially on hand
- setInitialCash(Money).
Method in class atm.physical.CashDispenser
- Set the amount of cash initially on hand
- setPIN(int).
Method in class banking.Message
- Set PIN to a new value (if original pin was invalid and customer is
asked to re-enter PIN)
- setPIN(int).
Method in class atm.Session
- Change the pin recorded for the customer (if invalid pin extension
was performed by a transaction
- setPIN(int).
Method in class atm.Session
- Change the pin recorded for the customer (if invalid pin extension
was performed by a transaction
- state.
Variable in class atm.ATM
- The current state of the ATM - one of the possible values listed below
- state.
Variable in class atm.ATM
- The current state of the ATM - one of the possible values listed below
- state.
Variable in class atm.Session
- The current state of the session
- state.
Variable in class atm.Session
- The current state of the session
- state.
Variable in class atm.transaction.Transaction
- The current state of the transaction
- state.
Variable in class atm.transaction.Transaction
- The current state of the transaction
- Status().
Constructor for class banking.Status
-
- subtract(Money).
Method in class banking.Money
- Subtract an amount of money from this
- switchOff().
Method in class atm.ATM
- Inform the ATM that the switch on the operator console has been moved
to the "off" position.
- switchOff().
Method in class atm.ATM
- Inform the ATM that the switch on the operator console has been moved
to the "off" position.
- switchOn.
Variable in class atm.ATM
- Becomes true when the operator panel informs the ATM that the switch has
been turned on - becomes false when the operator panel informs the ATM
that the switch has been turned off.
- switchOn.
Variable in class atm.ATM
- Becomes true when the operator panel informs the ATM that the switch has
been turned on - becomes false when the operator panel informs the ATM
that the switch has been turned off.
- switchOn().
Method in class atm.ATM
- Inform the ATM that the switch on the operator console has been moved
to the "on" position.
- switchOn().
Method in class atm.ATM
- Inform the ATM that the switch on the operator console has been moved
to the "on" position.
- to.
Variable in class atm.transaction.Deposit
- Account to deposit to
- to.
Variable in class atm.transaction.Deposit
- Account to deposit to
- to.
Variable in class atm.transaction.Transfer
- Account to transfer to
- to.
Variable in class atm.transaction.Transfer
- Account to transfer to
- toAccount.
Variable in class banking.Message
- "To" account specified by customer - if needed (else - 1)
- toString().
Method in class banking.Message
- Create a printable string representing this message
- toString().
Method in class banking.Money
- Create a string representation of this amount
- toString().
Method in class banking.Status
- Create a printable string representing this status
- total.
Variable in class banking.Balances
- Current total balance in the account
- Transaction(ATM, Session, Card, int).
Constructor for class atm.transaction.Transaction
- Constructor
- Transaction(ATM, Session, Card, int).
Constructor for class atm.transaction.Transaction
- Constructor
- TRANSACTION_TYPES_MENU.
Static variable in class atm.transaction.Transaction
- List of available transaction types to display as a menu
- TRANSACTION_TYPES_MENU.
Static variable in class atm.transaction.Transaction
- List of available transaction types to display as a menu
- TRANSFER.
Static variable in class banking.Message
- messageCode value for a transfer between accounts message
- Transfer(ATM, Session, Card, int).
Constructor for class atm.transaction.Transfer
- Constructor
- Transfer(ATM, Session, Card, int).
Constructor for class atm.transaction.Transfer
- Constructor
- WITHDRAWAL.
Static variable in class banking.Message
- messageCode value for a cash withdrawal message
- Withdrawal(ATM, Session, Card, int).
Constructor for class atm.transaction.Withdrawal
- Constructor
- Withdrawal(ATM, Session, Card, int).
Constructor for class atm.transaction.Withdrawal
- Constructor