FileDocCategorySizeDatePackage
CabinBean.javaAPI DocExample1422Mon Dec 13 20:47:12 GMT 1999com.titan.cabin

CabinBean

public class CabinBean extends Object implements javax.ejb.EntityBean

Fields Summary
public int
id
public String
name
public int
deckLevel
public int
ship
public int
bedCount
Constructors Summary
Methods Summary
public voidejbActivate()

        // Not implemented.
    
public voidejbCreate(int id)

        this.id = id;
    
public voidejbLoad()

        // Not implemented.
    
public voidejbPassivate()

        // Not implemented.
    
public voidejbPostCreate(int id)

        // Do nothing. Required.
    
public voidejbRemove()

        // Not implemented.
    
public voidejbStore()

        // Not implemented.
    
public intgetBedCount()

        return bedCount;
    
public intgetDeckLevel()

        return deckLevel;
    
public java.lang.StringgetName()

        return name;
    
public intgetShip()

        return ship;
    
public voidsetBedCount(int bc)

        bedCount = bc;
    
public voidsetDeckLevel(int level)

        deckLevel = level;
    
public voidsetEntityContext(javax.ejb.EntityContext ctx)

         // Not implemented.
    
public voidsetName(java.lang.String str)

        name = str;
    
public voidsetShip(int sp)

        ship = sp;
    
public voidunsetEntityContext()

         // Not implemented.