A B C D G I M P Q S T U

A

Account - interface banking.Account.
A simple banking Account interface.
AccountException - exception banking.AccountException.
A general exception thrown when a problem occurs during an Account operation.
AccountException() - Constructor for class banking.AccountException
Constructs an AccountException with no detail message.
AccountException(String) - Constructor for class banking.AccountException
Constructs an AccountException with the specified detail message.
accountBalance - Variable in class banking.SimpleAccountImpl
The account balance.
accountDb - Variable in class banking.DatabaseAccountImpl
The underlying database.
accountNumber - Variable in class banking.DatabaseAccountImpl
The account number.
accountNumber - Variable in class banking.SimpleAccountImpl
The account number.

B

banking - package banking
 

C

credit(float) - Method in interface banking.Account
Adds an amount to the current balance of this account.
credit(float) - Method in class banking.DatabaseAccountImpl
Adds an amount to the current balance of this account.
credit(float) - Method in class banking.SimpleAccountImpl
Adds an amount to the current balance of this account.

D

Database - interface banking.Database.
A simple banking Database interface.
DatabaseAccountImpl - class banking.DatabaseAccountImpl.
A simple banking DatabaseAccountImpl class.
DatabaseAccountImpl(int, String, String, String) - Constructor for class banking.DatabaseAccountImpl
Constructs an DatabaseAccountImpl with the specified number in a database identified by a URL, and admin name/password.
DatabaseAccountTest - class test.DatabaseAccountTest.
A simple banking account test class.
DatabaseAccountTest() - Constructor for class test.DatabaseAccountTest
 
DatabaseImpl - class banking.DatabaseImpl.
A simple banking DatabaseImpl class.
DatabaseImpl(String, String, String) - Constructor for class banking.DatabaseImpl
Constructs a DatabaseImpl with a given URL and user name/password.
debit(float) - Method in interface banking.Account
Deducts an amount from the current balance of this account.
debit(float) - Method in class banking.DatabaseAccountImpl
Deducts an amount from the current balance of this account.
debit(float) - Method in class banking.SimpleAccountImpl
Deducts an amount from the current balance of this account.

G

getAccountNumber() - Method in interface banking.Account
Returns the number of this account.
getAccountNumber() - Method in class banking.DatabaseAccountImpl
Returns the number of this account.
getAccountNumber() - Method in class banking.SimpleAccountImpl
Returns the number of this account.
getBalance() - Method in interface banking.Account
Returns the current balance of this account.
getBalance() - Method in class banking.DatabaseAccountImpl
Returns the current balance of this account.
getBalance() - Method in class banking.SimpleAccountImpl
Returns the current balance of this account.

I

InconsistentDatabaseException - exception banking.InconsistentDatabaseException.
Thrown when an AccountDatabase is inconsistent.
InconsistentDatabaseException() - Constructor for class banking.InconsistentDatabaseException
Constructs an InconsistentDatabaseException with no detail message.
InconsistentDatabaseException(String) - Constructor for class banking.InconsistentDatabaseException
Constructs an InconsistentDatabaseException with the specified detail message.
InsufficientBalanceException - exception banking.InsufficientBalanceException.
Thrown when an Account balance is insufficient.
InsufficientBalanceException() - Constructor for class banking.InsufficientBalanceException
Constructs an InsufficientBalanceException with no detail message.
InsufficientBalanceException(String) - Constructor for class banking.InsufficientBalanceException
Constructs an InsufficientBalanceException with the specified detail message.
InterAccountOperations - class banking.InterAccountOperations.
A class that provides inter-account operations.
InterAccountOperations() - Constructor for class banking.InterAccountOperations
 

M

main(String[]) - Static method in class test.DatabaseAccountTest
 
main(String[]) - Static method in class test.SimpleAccountTest
 

P

password - Variable in class banking.DatabaseImpl
The database admin password.

Q

query(int) - Method in interface banking.Database
Queries the database to return the balance of an account given its number.
query(int) - Method in class banking.DatabaseImpl
Queries the database to return the balance of an account given its number.

S

SimpleAccountImpl - class banking.SimpleAccountImpl.
A simple banking SimpleAccountImpl class.
SimpleAccountImpl(int, float) - Constructor for class banking.SimpleAccountImpl
Constructs an SimpleAccountImpl with the specified number.
SimpleAccountTest - class test.SimpleAccountTest.
A simple banking account test class.
SimpleAccountTest() - Constructor for class test.SimpleAccountTest
 
setBalance(float) - Method in interface banking.Account
Sets the balance of this account.
setBalance(float) - Method in class banking.DatabaseAccountImpl
Sets the balance of this account.
setBalance(float) - Method in class banking.SimpleAccountImpl
Sets the balance of this account.

T

test - package test
 
transfer(Account, Account, float) - Static method in class banking.InterAccountOperations
Performs funds transfer between two banking accounts.

U

update(int, float) - Method in interface banking.Database
Updates the database to set the new amount of an account balance given its number.
update(int, float) - Method in class banking.DatabaseImpl
Updates the database to set the new amount of an account balance given its number.
url - Variable in class banking.DatabaseImpl
The database URL.
user - Variable in class banking.DatabaseImpl
The database admin name.

A B C D G I M P Q S T U

University Grenoble 1 (France) - Department of Computer Science
Master M1 - Adaptable Middleware - AOP / AspectJ.