|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use InvalidBarCodeException | |
---|---|
edu.uci.ics.inf111.dvdvendor.app |
Uses of InvalidBarCodeException in edu.uci.ics.inf111.dvdvendor.app |
---|
Methods in edu.uci.ics.inf111.dvdvendor.app that throw InvalidBarCodeException | |
---|---|
private void |
BarCode.checkSum(java.lang.String code)
This function checks whether the scanned BarCode is a valid one (not in the sense whether it exists in the database, but whether the Bar code that is passed in is of correct format to calculate the Checksum. The checksum is a Modulo 10 calculation. 1. |
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 |
Constructors in edu.uci.ics.inf111.dvdvendor.app that throw InvalidBarCodeException | |
---|---|
BarCode(java.lang.String productCode)
Creates a BarCode object unless the supplied digit string is illegal. |
|
RentTransaction(java.lang.String line)
Constructor that assigns values based on the information on the TransactionDB |
|
ReturnTransaction(java.lang.String line)
Constructor that assigns values based on the information on the TransactionDB |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |