- validateAccountNumber(int) - Static method in class resources.CarInventoryManagement.Employee
-
This method validates the account number.
- validateBodyStyle(String) - Static method in class resources.CarInventoryManagement.Car
-
Currently, this only checks to make sure the body style is not an empty
string.
- validateDisplacement(int) - Static method in class resources.CarInventoryManagement.Motorcycle
-
This method checks whether the displacement is less than 50cc.
- validateDriversLicense(int) - Static method in class resources.CarInventoryManagement.Customer
-
This method validates the driver's license number.
- validateLengthFT(double) - Static method in class resources.CarInventoryManagement.Truck
-
This method validates the length, checking that the number is not negative.
- validateMake(String) - Static method in class resources.CarInventoryManagement.Vehicle
-
This method validates the manufacturer, by ensuring that the
make parameter is a non-empty string.
- validateMaxLoadWeight(int) - Static method in class resources.CarInventoryManagement.Truck
-
This method validates the maximum load weight, checking that the number is not
negative.
- validateModel(String) - Static method in class resources.CarInventoryManagement.Vehicle
-
This method validates the model by ensuring that it's not an empty string.
- validateName(String) - Static method in class resources.CarInventoryManagement.Person
-
This method validates the name as being at least one character long.
- validatePhoneNumber(String) - Static method in class resources.CarInventoryManagement.Customer
-
This method validates the phone number.
- validatePrice(double) - Static method in class resources.CarInventoryManagement.Vehicle
-
This validation function only checks for a price that is
non-negative.
- validateSalary(double) - Static method in class resources.CarInventoryManagement.Employee
-
This method validates the salary figure, merely ensuring
the salary is not negative.
- validateType(String) - Static method in class resources.CarInventoryManagement.Motorcycle
-
Checks to see if the type is blank since there is no set list of types.
- validateUID(int, String) - Method in class resources.CarInventoryManagement.PersonManager
-
Given a UID and a type of person, attempts to validate whether or not the user
is listed in the database as the provided type of person (customer or employee)
- validateVin(String) - Static method in class resources.CarInventoryManagement.Vehicle
-
This method validates the VIN, by checking that the length of the VIN
is between 1 and 17 inclusive.
- validateYear(int) - Static method in class resources.CarInventoryManagement.Vehicle
-
The validation function for the year checks to make sure the year
is at least 1886 (The car was invented in 1886) and at most one year in
the future (since car dealerships sell next year's models this year).
- Vehicle - Class in resources.CarInventoryManagement
-
- Vehicle(String, String, String, double, int, int) - Constructor for class resources.CarInventoryManagement.Vehicle
-
The constructor for the vehicle class
- VehicleManager - Class in resources.CarInventoryManagement
-
- VehicleManager() - Constructor for class resources.CarInventoryManagement.VehicleManager
-
The constructor for the VehicleManager class creates an ArrayList of Vehicle
objects called vehicleDB
.
- verifyExistanceOfVin(String) - Method in class resources.CarInventoryManagement.VehicleManager
-
This method allows for verification of the existence of a vehicle
in the runtime database whose VIN number matches the parameter vin.