Methods Summary |
---|
public void | ejbActivate()
// not implmented
|
public ReservationPK | ejbCreate(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 void | ejbLoad()
// not implmented
|
public void | ejbPassivate()
// not implmented
|
public void | ejbPostCreate(Customer customer, Cruise cruise, Cabin cabin, double price)
// do nothing;
|
public void | ejbRemove()
// not implmented
|
public void | ejbStore()
// not implmented
|
public int | getCabinID()
return cabinID;
|
public int | getCruiseID()
return cruiseID;
|
public int | getCustomerID()
return customerID;
|
public double | getPrice()
return price;
|
public void | setEntityContext(javax.ejb.EntityContext ctx)
//not implemented
|
public void | unsetEntityContext()
//not implemented
|