FileDocCategorySizeDatePackage
CruiseBean.javaAPI DocExample1387Wed May 29 16:24:54 BST 2002com.titan.cruise

CruiseBean

public abstract class CruiseBean 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.IntegerejbCreate(java.lang.String name, ShipLocal ship)

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

public voidejbPassivate()

public voidejbPostCreate(java.lang.String name, ShipLocal ship)

      setShip(ship);
   
public voidejbRemove()

public voidejbStore()

public abstract java.lang.IntegergetId()

public abstract java.lang.StringgetName()

public abstract java.util.CollectiongetReservations()

public abstract ShipLocalgetShip()

public voidsetEntityContext(javax.ejb.EntityContext ec)

public abstract voidsetId(java.lang.Integer id)

public abstract voidsetName(java.lang.String name)

public abstract voidsetReservations(java.util.Collection res)

public abstract voidsetShip(ShipLocal ship)

public voidunsetEntityContext()