FileDocCategorySizeDatePackage
ReservationBean.javaAPI DocExample1755Fri Dec 17 12:39:32 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