Poseidon for UMLTM
  UMLdoc
 PREV  CLASSIFIER    NEXT  CLASSIFIER     FRAMES    NO FRAMES      
SUMMARY:   INNER | ATTR | ASSOC | CONSTR | METHOD     DETAIL:   INNER | ATTR | ASSOC | CONSTR | METHOD     DIAGRAMS:   COLLAB | SEQ | STATE | ACTIV

de.mbohlen.uml2ejb.samples.carrental.contracts

Class ContractService


public class ContractService

Can place reservations and search for existing reservations.


 Method Summary
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. 

arrow_up
 

 Method Detail

reserve

public reserve(String customerId , String comfortClass , Date reservationDate )

Reserves a car for a customer.

Parameters:
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

 
arrow_up
 
 

searchForReservationsOfCustomer

public Collection searchForReservationsOfCustomer(String customerId )

Searches all reservations for an existing customer.

Parameters:
customerId - the Id of the Customer object

Returns:
Collection of ReservierungData objects

 
arrow_up
 

Created  2002 - 12 - 7

    Poseidon for UMLTM
  UMLdoc
 PREV  CLASSIFIER    NEXT  CLASSIFIER     FRAMES    NO FRAMES      
SUMMARY:   INNER | ATTR | ASSOC | CONSTR | METHOD     DETAIL:   INNER | ATTR | ASSOC | CONSTR | METHOD     DIAGRAMS:   COLLAB | SEQ | STATE | ACTIV

Generated with Poseidon for UMLTM.
Poseidon is a registered trademark of Gentleware AG in Germany, USA and other countries. Copyright 2001 Gentleware AG, Vogt-Kölln-Str.30, 22527 Hamburg, Germany. All Rights Reserved.

UML is a trademark or registered trademark of Object Management Group, Inc. in the U.S. and other countries.