Methods Summary |
---|
public void | ejbActivate()
// not implmented
|
public void | ejbCreate(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 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
|