FileDocCategorySizeDatePackage
ReservationBean.javaAPI DocExample1774Fri Dec 17 12:38:24 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 ReservationPKejbCreate(Customer customer, Cruise cruise, Cabin cabin, double price)

        try {
            this.customerID = ((CustomerPK)customer.getPrimaryKey()).id;
            this.cruiseID = ((CruisePK)cruise.getPrimaryKey()).id;
            this.cabinID = ((CabinPK)cabin.getPrimaryKey()).id;
            this.price = price;
        }
        catch (RemoteException re) {
            throw new EJBException(re);
        }
        return null;
    
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