FileDocCategorySizeDatePackage
ReservationBean.javaAPI DocExample1793Mon Nov 01 06:59:06 GMT 1999com.titan.reservation

ReservationBean

public class ReservationBean extends Object implements javax.ejb.EntityBean

Fields Summary
public int
customerID
public int
cruiseID
public int
cabinID
public double
price
public javax.ejb.EntityContext
ejbContext
Constructors Summary
Methods Summary
public voidejbActivate()

        // not implmented
    
public voidejbCreate(Customer customer, Cruise cruise, Cabin cabin, double price)

        // This method throws a remote exception if one of the getPrimaryKey() invocations throws a RemoteException
        this.customerID = ((CustomerPK)customer.getPrimaryKey()).id;
        this.cruiseID = ((CruisePK)cruise.getPrimaryKey()).id;
        this.cabinID = ((CabinPK)cabin.getPrimaryKey()).id;
        this.price = price;
    
public voidejbLoad()

        // not implmented
    
public voidejbPassivate()

        // not implmented
    
public voidejbPostCreate(Customer customer, Cruise cruise, Cabin cabin, double price)

        // do nothing;
    
public voidejbRemove()

        // not implmented
    
public voidejbStore()

        // not implmented
    
public intgetCabinID()

        return cabinID;
    
public intgetCruiseID()

        return cruiseID;
    
public intgetCustomerID()

        return customerID;
    
public doublegetPrice()

        return price;
    
public voidsetEntityContext(javax.ejb.EntityContext ctx)

	     //not implemented
    
public voidunsetEntityContext()

	     //not implemented