FileDocCategorySizeDatePackage
CruiseBean.javaAPI DocExample1506Mon Nov 01 06:53:06 GMT 1999com.titan.cruise

CruiseBean

public class CruiseBean extends Object implements javax.ejb.EntityBean

Fields Summary
public int
id
public String
name
public int
shipID
public javax.ejb.EntityContext
ejbContext
Constructors Summary
Methods Summary
public voidejbActivate()

        // not implmented
    
public voidejbCreate(int id, java.lang.String name, int shipID)

        this.id = id;
        this.name = name;
        this.shipID = shipID;
    
public voidejbLoad()

        // not implmented
    
public voidejbPassivate()

        // not implmented
    
public voidejbPostCreate(int id, java.lang.String name, int shipID)

        // do nothing. Required
    
public voidejbRemove()

        // not implmented
    
public voidejbStore()

        // not implmented
    
public java.lang.StringgetName()

        return name;
    
public intgetShipID()

        return shipID;
    
public voidsetEntityContext(javax.ejb.EntityContext ctx)

	     ejbContext = ctx;
    
public voidsetName(java.lang.String name)

        this.name = name;
    
public voidsetShipID(int shipID)

        this.shipID = shipID;
    
public voidunsetEntityContext()

         ejbContext = null;