|
Poseidon for UMLTM UMLdoc |
|||||||||
|
de.mbohlen.uml2ejb.samples.carrental.inventory
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.
|
|||
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. |
|
public
String
createCar(
CarData carData
,
String carTypeId
)
Creates a car with a certain type. The car type must already exist.
carData
- data for the Car object
carTypeId
- the id of the CarType object
public
String
createCarType(
CarTypeData typeData
)
Creates a car type (kind of catalog entry).
typeData
- the data for the 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.
comfortClass
- the comfort class to search for
|
Poseidon for UMLTM UMLdoc |
|||||||||
|