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.inventory

Class InventoryService


public class InventoryService

Supports the workflow of inventory management for the car rental company.

Can create types of cars, can create cars and search for all these objects.


 Method Summary
public String   createCar( CarData carData , String carTypeId )

Creates a car with a certain type. 

public String   createCarType( CarTypeData typeData )

Creates a car type (kind of catalog entry). 

public Collection   searchAllCarTypes()

Returns all registered car types from the catalog. 

public Collection   searchAllCars()

Returns all known cars. 

public Collection   searchCarByComfortClass(String comfortClass )

Searches all cars with a certain comfort class. 

arrow_up
 

 Method Detail

createCar

public String createCar( CarData carData , String carTypeId )

Creates a car with a certain type. The car type must already exist.

Parameters:
carData - data for the Car object

carTypeId - the id of the CarType object

Returns:
a String with the id of the Car object

 
arrow_up
 
 

createCarType

public String createCarType( CarTypeData typeData )

Creates a car type (kind of catalog entry).

Parameters:
typeData - the data for the catalog entry

Returns:
a String with the id of the CarType object

 
arrow_up
 
 

searchAllCarTypes

public Collection searchAllCarTypes()

Returns all registered car types from the catalog.

Returns:
a Collection with CarTypeData objects.

 
arrow_up
 
 

searchAllCars

public Collection searchAllCars()

Returns all known cars.

Returns:
a Collection with CarData objects

 
arrow_up
 
 

searchCarByComfortClass

public Collection searchCarByComfortClass(String comfortClass )

Searches all cars with a certain comfort class.

Parameters:
comfortClass - the comfort class to search for

Returns:
a Collection with CarData 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.