Index

A B C G I J M N R S T U 
All Classes and Interfaces|All Packages|Serialized Form

A

addBankAccount(BankAccount) - Method in class userservice.User
Give the user a bank account.
addEmail(String) - Method in class userservice.User
Add an email to the ArrayList of email addresses
addPhoneNumber(String) - Method in class userservice.User
Add a phone number to the user.
addTransaction(Transaction) - Method in class makingtransactions.bankaccounts.BankAccount
Add a transaction to the bank account.
addUser(User) - Method in class makingtransactions.bankaccounts.JointAccount
Connect a user to the joint account.

B

BankAccount - Class in makingtransactions.bankaccounts
An abstract bank account class for creating different kinds of bank accounts.
BankAccount(double, String, String, int, int, int) - Constructor for class makingtransactions.bankaccounts.BankAccount
Create a bank account with a balance.
BankAccount(String, String, int, int, int) - Constructor for class makingtransactions.bankaccounts.BankAccount
Create a bank account without a balance.

C

containsUser(User) - Method in class makingtransactions.bankaccounts.JointAccount
Check to see if a user is connected to the joint account.

G

getAccountName() - Method in class makingtransactions.bankaccounts.BankAccount
Get the name of the bank account.
getAccountNumber() - Method in class makingtransactions.bankaccounts.BankAccount
Get the account number for the bank account.
getAge() - Method in class userservice.User
Get the age of the user.
getBalance() - Method in class makingtransactions.bankaccounts.BankAccount
Get the balance of the bank account.
getBankAccounts() - Method in class userservice.User
Get the ArrayList of bank accounts from a user.
getCredit() - Method in class makingtransactions.Transaction
Get the crebit (How much money should be spent) for the transaction.
getCurrency() - Method in class makingtransactions.bankaccounts.BankAccount
Get the currency on the bank account.
getDebit() - Method in class makingtransactions.Transaction
Get the debit (How much money should be earned) for the transaction.
getEmailAddresses() - Method in class userservice.User
Get an ArrayList of email addresses linked to the user.
getInstitutionNumber() - Method in class makingtransactions.bankaccounts.BankAccount
Get the institution number on the bank account.
getName() - Method in class userservice.User
Get the name of the user.
getPhoneNumbers() - Method in class userservice.User
Get an ArrayList of phone numbers linked to the user.
getTransactionName() - Method in class makingtransactions.Transaction
Get the name of the transaction.
getTransactions() - Method in class makingtransactions.bankaccounts.BankAccount
Get an ArrayList of transactions.
getTransitNumber() - Method in class makingtransactions.bankaccounts.BankAccount
Get the transit number on the bank account.
getUserHolder() - Method in class makingtransactions.bankaccounts.SingleAccount
Get the holder of the bank account.
getUserId() - Method in class userservice.User
Get the ID of the user.
getUsers() - Method in class makingtransactions.bankaccounts.JointAccount
Get an ArrayList of users connected to the joint account.

I

incrementAge() - Method in class userservice.User
Increment the age of the user by one.

J

JointAccount - Class in makingtransactions.bankaccounts
A bank account class for creating a joint account containing multiple holders.
JointAccount(User, double, String, String, int, int, int) - Constructor for class makingtransactions.bankaccounts.JointAccount
Create a joint account with a balance.
JointAccount(User, String, String, int, int, int) - Constructor for class makingtransactions.bankaccounts.JointAccount
Create a joint account without a balance.

M

makingtransactions - package makingtransactions
Classes for making transactions.
makingtransactions.bankaccounts - package makingtransactions.bankaccounts
A package of bank account classes.

N

NegativeBalanceException - Exception Class in makingtransactions
A custom exception for cases where credit on a transaction is bigger than the balance on a bank account.
NegativeBalanceException(double, double) - Constructor for exception class makingtransactions.NegativeBalanceException
Throw the NegativeBalanceException, to avoid a negative balance on a bank account.

R

removeBankAccount(BankAccount) - Method in class userservice.User
Remove a bank account from the user.
removeEmail(String) - Method in class userservice.User
Remove an email address from the user.
removePhoneNumber(String) - Method in class userservice.User
Remove a phone number from the user.
removeUser(User) - Method in class makingtransactions.bankaccounts.JointAccount
Remove a user from the joint account.

S

setAccountName(String) - Method in class makingtransactions.bankaccounts.BankAccount
Set the name of the bank account.
setAccountNumber(int) - Method in class makingtransactions.bankaccounts.BankAccount
Set the account number for the bank account.
setAge(int) - Method in class userservice.User
Set the age of the user.
setBalance(double) - Method in class makingtransactions.bankaccounts.BankAccount
Set the balance of the bank account.
setCredit(double) - Method in class makingtransactions.Transaction
Set the credit (How much money should be spent) for the transaction.
setCurrency(String) - Method in class makingtransactions.bankaccounts.BankAccount
Set the currency on the bank account.
setDebit(double) - Method in class makingtransactions.Transaction
Set the debit (How much money should be earned) for the transaction.
setInstitutionNumber(int) - Method in class makingtransactions.bankaccounts.BankAccount
Set the institution number on the bank account.
setName(String) - Method in class userservice.User
Set the name of the user.
setTransactionName(String) - Method in class makingtransactions.Transaction
Set the name of the transaction.
setTransitNumber(int) - Method in class makingtransactions.bankaccounts.BankAccount
Set the transit number on the bank account.
setUserHolder(User) - Method in class makingtransactions.bankaccounts.SingleAccount
Set the holder of the account.
setUserId(int) - Method in class userservice.User
Set the ID of the user.
SingleAccount - Class in makingtransactions.bankaccounts
A bank account class for creating a single account containing only one holder.
SingleAccount(User, double, String, String, int, int, int) - Constructor for class makingtransactions.bankaccounts.SingleAccount
Create a single account with a balance.
SingleAccount(User, String, String, int, int, int) - Constructor for class makingtransactions.bankaccounts.SingleAccount
Create a single account without a balance.

T

toString() - Method in class makingtransactions.bankaccounts.BankAccount
 
toString() - Method in exception class makingtransactions.NegativeBalanceException
 
toString() - Method in class makingtransactions.Transaction
 
toString() - Method in class userservice.User
 
Transaction - Class in makingtransactions
A class for creating transactions.
Transaction(String) - Constructor for class makingtransactions.Transaction
Create a transaction without any credit and debit.
Transaction(String, double, double) - Constructor for class makingtransactions.Transaction
Create a transaction with credit and debit.

U

User - Class in userservice
A class for creating a user.
User(String, int, int) - Constructor for class userservice.User
Create a user.
User(String, int, int, String) - Constructor for class userservice.User
Create a user with an email address.
User(String, int, int, String, String) - Constructor for class userservice.User
Create a user with an phone number.
userservice - package userservice
Classes for manipulating a user.
A B C G I J M N R S T U 
All Classes and Interfaces|All Packages|Serialized Form