Class Driver
java.lang.Object
com.example.vehicletaxsystem.models.Driver
- All Implemented Interfaces:
Serializable
Class that mirrors a Driver. Most of this, other than the id being swapped for licenceNo and the vehicleList existing in this class, is a copy of my submission for the joint Web Development and Web Services semester 2 - assignment 2.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetEmail()getFName()getLName()inthashCode()voidsetAddress(Address address) voidvoidvoidsetLicenceNo(Integer licenceNo) voidvoidsetVehicleList(List<Vehicle> vehicleList) toString()
-
Field Details
-
licenceNo
-
fName
-
lName
-
email
-
address
-
vehicleList
-
-
Constructor Details
-
Driver
public Driver()
-
-
Method Details