|
Poseidon for UMLTM UMLdoc |
|||||||||
|
de.mbohlen.uml2ejb.samples.carrental.contracts
Can place reservations and search for existing reservations.
|
|||
public
|
reserve(String customerId
,
String comfortClass
,
Date reservationDate
)
Reserves a car for a customer. |
||
public
Collection
|
searchForReservationsOfCustomer(String customerId
)
Searches all reservations for an existing customer. |
|
public
reserve(String customerId
,
String comfortClass
,
Date reservationDate
)
Reserves a car for a customer.
customerId
- the id of the Customer object
comfortClass
- indicates hom comfortable the car should be ("eco",
"normal", or "luxury")
reservationDate
- the day when the car is needed
public
Collection
searchForReservationsOfCustomer(String customerId
)
Searches all reservations for an existing customer.
customerId
- the Id of the Customer object
|
Poseidon for UMLTM UMLdoc |
|||||||||
|