|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Transaction | |
---|---|
edu.uci.ics.inf111.dvdvendor.app |
Uses of Transaction in edu.uci.ics.inf111.dvdvendor.app |
---|
Subclasses of Transaction in edu.uci.ics.inf111.dvdvendor.app | |
---|---|
class |
RentTransaction
This class represents a Rent Transaction in the point of sale. |
class |
ReturnTransaction
This class represents a Return Transaction in the point of sale. |
Fields in edu.uci.ics.inf111.dvdvendor.app declared as Transaction | |
---|---|
private Transaction |
DVDVendor.transaction
The transaction that will be persisted in the TransactionDB |
Fields in edu.uci.ics.inf111.dvdvendor.app with type parameters of type Transaction | |
---|---|
private java.util.ArrayList<Transaction> |
TransactionDB.transactions
This ArrayList of Transactions is the core of our sample DB. |
Methods in edu.uci.ics.inf111.dvdvendor.app that return Transaction | |
---|---|
static Transaction |
Transaction.createTransaction(java.lang.String line)
Static method that creates a Rent or a Return Transaction based on the input String that represents a line in the transactionDB file |
Methods in edu.uci.ics.inf111.dvdvendor.app that return types with arguments of type Transaction | |
---|---|
java.util.ArrayList<Transaction> |
TransactionDB.listAll()
This method returns a copy of the TransactionDB ArrayList. |
Methods in edu.uci.ics.inf111.dvdvendor.app with parameters of type Transaction | |
---|---|
void |
TransactionDB.addItem(Transaction transaction)
This method is called to add items directly to the database in our example. |
java.lang.String |
TransactionDB.persistTransaction(Transaction transaction)
This method is called to persist a Transaction in the Transaction file. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |