This program is an cmd application for a vehilce base of persons.
Logging is vaildated by regex expression.
- Show all vehicles in the base without fragile data (id of the vehicle)
- Show all users in the base without fragile data (only firstname, surrname and city)
- Change user's password
- Find which vehicles are in the specific city
- Show user's car with all data
- Show who is the owner of given brand
- Show all vehicles of given person
- All regular user methods
- Change any user's password
- Show connections between users and their vehicles
- Add new person to the base
- Delete given person from the base
- Add new vehicle to the person
- Delete given vehicle from a person
- Add new user
- Delete given user
- Add new vehicle to the base
- Delete given vehicle from the base
Adding new stuff is also validated by regex expressions.
3. At the end you can choose whether you want to quit or use another method, the data from your operations are written to the output file.
There are 4 .txt files:
- users
- connections (connects vehicles with persons)
- persons
- vehicles