FileDocCategorySizeDatePackage
ReservationBean.javaAPI DocExample1766Wed May 29 16:24:40 BST 2002com.titan.reservation

ReservationBean

public abstract class ReservationBean extends Object implements javax.ejb.EntityBean

Fields Summary
private static final int
IDGEN_START
private static int
idgen
Constructors Summary
Methods Summary
public voidejbActivate()

public java.lang.ObjectejbCreate(CruiseLocal cruise, java.util.Collection customers)

    
        
       
   
      System.out.println("ejbCreate");
      setId(new Integer(idgen++));
      return null;
   
public voidejbLoad()

public voidejbPassivate()

public voidejbPostCreate(CruiseLocal cruise, java.util.Collection customers)

      System.out.println("ejbPostCreate");
      setCruise(cruise);
      Collection myCustomers = this.getCustomers();
      myCustomers.addAll(customers);
   
public voidejbRemove()

public voidejbStore()

public abstract doublegetAmountPaid()

public abstract java.util.SetgetCabins()

public abstract CruiseLocalgetCruise()

public abstract java.util.SetgetCustomers()

public abstract java.util.DategetDate()

public abstract java.lang.IntegergetId()

public abstract voidsetAmountPaid(double amount)

public abstract voidsetCabins(java.util.Set cabins)

public abstract voidsetCruise(CruiseLocal cruise)

public abstract voidsetCustomers(java.util.Set customers)

public abstract voidsetDate(java.util.Date date)

public voidsetEntityContext(javax.ejb.EntityContext ec)

public abstract voidsetId(java.lang.Integer id)

public voidunsetEntityContext()