Methods Summary |
---|
public void | ejbActivate()
// not implemented
|
public ReservationPK | ejbCreate(CustomerRemote customer, CruiseRemote cruise, CabinRemote cabin, double price, java.sql.Date travelDate)
try {
this.customerID = ((Integer)customer.getPrimaryKey()).intValue();
this.cruiseID = ((Integer)cruise.getPrimaryKey()).intValue();
this.cabinID = ((Integer)cabin.getPrimaryKey()).intValue();
this.price = price;
this.date = travelDate;
}
catch (RemoteException re) {
throw new EJBException(re);
}
return null;
|
public void | ejbLoad()
// not implemented
|
public void | ejbPassivate()
// not implemented
|
public void | ejbPostCreate(CustomerRemote customer, CruiseRemote cruise, CabinRemote cabin, double price, java.sql.Date travelDate)
// do nothing;
|
public void | ejbRemove()
// not implemented
|
public void | ejbStore()
// not implemented
|
public int | getCabinID()
return cabinID;
|
public int | getCruiseID()
return cruiseID;
|
public int | getCustomerID()
return customerID;
|
public java.sql.Date | getDate()
return date;
|
public double | getPrice()
return price;
|
public void | setEntityContext(javax.ejb.EntityContext ctx)
ejbContext = ctx;
|
public void | unsetEntityContext()
ejbContext = null;
|