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

Class COM.ibm.jaws.models.trs.AirlineCompanyBase

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

public class AirlineCompanyBase
extends CommonBase

Variable Index

 o contact
 o flightPlanRC
 o name
 o planeRC

Constructor Index

 o AirlineCompanyBase()
 o AirlineCompanyBase(String)

Method Index

 o addContact(String, String, String, String, String, String, String, String, String, String, URL)
 o addFlightPlan(String, String, String, float)
 o addPlane(String, String, String, int)
 o getContact()
 o getFlightPlans()
 o getName()
 o getPlanes()
 o toString()
Returns a String that represents the value of this Object.

Variables

 o name
  protected String name
 o contact
  protected Contact contact
 o planeRC
  protected ReferenceCollection planeRC
 o flightPlanRC
  protected ReferenceCollection flightPlanRC

Constructors

 o AirlineCompanyBase
  public AirlineCompanyBase()
 o AirlineCompanyBase
  public AirlineCompanyBase(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 getName
  public String getName()
 o addPlane
  public Plane addPlane(String name,
                        String planeImage,
                        String seatImage,
                        int totalSeats)
 o getPlanes
  public Iterator getPlanes()
 o addFlightPlan
  public FlightPlan addFlightPlan(String flightNumber,
                                  String departureAirportString,
                                  String destinationAirportString,
                                  float price)
 o getFlightPlans
  public Iterator getFlightPlans()
 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