FileDocCategorySizeDatePackage
CabinBean.javaAPI DocExample936Sun Mar 07 09:44:10 GMT 1999None

CabinBean

public class CabinBean extends EntityAdapter

Fields Summary
public int
id
public String
name
public int
deckLevel
public int
shipID
public int
bedCount
Constructors Summary
Methods Summary
public voidejbCreate(int id)

        this.id = id;
    
public voidejbPostCreate(int id)

        // do nothing. Required
    
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 voidsetName(java.lang.String str)

        name = str;
    
public voidsetShipID(int ship)

        shipID = ship;