This PDF 1.7 document has been generated by / Microsoft: Print To PDF, and has been sent on pdf-archive.com on 15/12/2016 at 10:46, from IP address 94.254.x.x.
The current document download page has been viewed 303 times.
File size: 270.49 KB (1 page).
Privacy: public file
Class Diagram0
2016/12/15 astah* Evaluation
pkg
client
clientManagement
- clients : list<client*>
+ addClient(_client : client*) : void
+ removeClient(_client : client*) : void
+ saveClients() : void
+ displayClients() : void
1
1..*
hire
- name : const string
- phone : string
- discount : int
- income : int
- hires : list<hire*>
1
+ client(name : const string, phone : string)
+ ~client()
1..*
vehicle
- UUID : uuid
- _client : client
- days : int = 0
- _vehicle : vehicle
- daily_cost : float
- total_cost : float
- date_hire : tm
- date_return : tm
vehicleManagement
# brand : string
# model : string
# price : float
1
1
1..*
1
- vehicles : list<vehicle*>
+ addVehicle(_vehicle : vehicle*) : void
+ removeVehicle(_vehicle : vehicle*) : void
+ saveVehicles() : void
+ displayVehicles() : void
+ vehicle(brand : string, model : string, price : float)
+ ~vehicle()
+ hire(ID : int, _client : client *, _vehicle : vehicle *, dailyCost : float)
+ calculateTotalCost() : void
+ calculateReturnDate() : void
1
1
1..*
1..*
clientType
1
1
- discount : int
- vehiclesLimit : int
bike
hireManagement
newbie
pedestrian
advanced
- discount : int
- vehiclesLimit : int
- discount : int
- vehiclesLimit : int
- discount : int
- vehiclesLimit : int
engineVehicle
hireArchive
- hires : list<hire*>
- hiresArchives : list<hire*>
+ addHire(_hire : hire*) : void
+ removeHire(_hire : hire*) : void
+ saveHires() : void
+ displayHires() : void
+ addArchive(_hire : hire*) : void
+ removeArchive(_hire : hire*) : void
+ saveArchives() : void
+ displayArchives() : void
+ motorbike(brand : string, model : string, price : float) : void
# capacity : float
motorbike
+ motorbike(brand : string, model : string, price : float, capacity : float)
car
- section : string
+ car(brand : string, model : string, price : float, capacity : float, section : string) : void
1/1
UML fin.pdf (PDF, 270.49 KB)
Use the permanent link to the download page to share your document on Facebook, Twitter, LinkedIn, or directly with a contact by e-Mail, Messenger, Whatsapp, Line..
Use the short link to share your document on Twitter or by text message (SMS)
Copy the following HTML code to share your document on a Website or Blog