FileDocCategorySizeDatePackage
CabinBean.javaAPI DocExample1485Tue Jun 26 18:26:46 BST 2001com.titan.cabin

CabinBean

public class CabinBean extends Object implements javax.ejb.EntityBean

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

        // Not implemented.
    
public java.lang.IntegerejbCreate(java.lang.Integer id)

        this.id = id;
        return null;
    
public voidejbLoad()

        // Not implemented.
    
public voidejbPassivate()

        // Not implemented.
    
public voidejbPostCreate(java.lang.Integer 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 intgetShipId()

        return shipId;
    
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 voidsetShipId(int sp)

        shipId = sp;
    
public voidunsetEntityContext()

         // Not implemented.