FileDocCategorySizeDatePackage
CruiseBean.javaAPI DocExample1459Mon Sep 30 09:30:58 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, com.titan.ship.ShipLocal ship)

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

public voidejbPassivate()

public voidejbPostCreate(java.lang.String name, com.titan.ship.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 com.titan.ship.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(com.titan.ship.ShipLocal ship)

public voidunsetEntityContext()