Class COM.ibm.jaws.models.trs.CarRentalCompanyBase
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class COM.ibm.jaws.models.trs.CarRentalCompanyBase

java.lang.Object
   |
   +----COM.ibm.jaws.models.trs.CommonBase
           |
           +----COM.ibm.jaws.models.trs.CarRentalCompanyBase

public class CarRentalCompanyBase
extends CommonBase

Variable Index

 o carFleetRC
 o carRC
 o contact
 o name

Constructor Index

 o CarRentalCompanyBase()
 o CarRentalCompanyBase(String)

Method Index

 o addCar(String, String)
 o addCarFleet(String, String, float, String)
 o addContact(String, String, String, String, String, String, String, String, String, String, URL)
 o getCarFleets()
 o getCars()
 o getContact()
 o getName()
 o toString()
Returns a String that represents the value of this Object.

Variables

 o name
  protected String name
 o contact
  protected Contact contact
 o carRC
  protected ReferenceCollection carRC
 o carFleetRC
  protected ReferenceCollection carFleetRC

Constructors

 o CarRentalCompanyBase
  public CarRentalCompanyBase()
 o CarRentalCompanyBase
  public CarRentalCompanyBase(String name)

Methods

 o addContact
  public Contact addContact(String address1,
                            String address2,
                            String city,
                            String zip,
                            String phoneAreaCode,
                            String phoneNumber,
                            String faxAreaCode,
                            String faxNumber,
                            String emailId,
                            String emailAddress,
                            URL url)
 o getContact
  public Contact getContact()
 o addCar
  public Car addCar(String name,
                    String image)
 o getCars
  public Iterator getCars()
 o addCarFleet
  public CarFleet addCarFleet(String airportCode,
                              String name,
                              float price,
                              String carString)
 o getCarFleets
  public Iterator getCarFleets()
 o getName
  public String getName()
 o toString
  public String toString()
Returns a String that represents the value of this Object.
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index