vehicles is null, thus, can't use .add() in generateBusses()
First make an Object in generateBusses() then fill with add().
Or make generateBusses() only add to an instance member
(i.e. construct with ref with instance)
Signed-off-by: HeshamTB <hishaminv@gmail.com>
General improved constructors with regard to
agreed upon final UML.
generateUID() method to set UID for camp
in constructors based on the new static int
'numberOfCampaigns'. 0001, 0002, ...
The type os UID is now String to accommodate
the leading zeros.
Signed-off-by: HeshamTB <hishaminv@gmail.com>
Update according to UML
Set vehicles for camp
new Constructor for camp
Enum for District and Mashier. This will be set as endpoints
for Streets, Routes or Campaigns.
Signed-off-by: HeshamTB <hishaminv@gmail.com>
some of the changes proposed in 18-10-2020 meeting:
- GovtCar marker interface (CanBeGovtCar)
- Remove isGovt from vehicle and Sedan constructors
- Remove Pilgrim.java class
- Remove PermitedForHaj.java interface