FileDocCategorySizeDatePackage
PhoneBean.javaAPI DocExample1282Mon Sep 30 09:32:40 BST 2002com.titan.phone

PhoneBean

public abstract class PhoneBean 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.ObjectejbCreate(java.lang.String number, byte type)

         
       
   
      System.out.println ("ejbCreate");
      setId(new Integer(idgen++));
      setNumber (number);
      setType (type);
      
      return null;
   
public voidejbLoad()

public voidejbPassivate()

public voidejbPostCreate(java.lang.String number, byte type)

      System.out.println ("ejbPostCreate");
   
public voidejbRemove()

public voidejbStore()

public abstract java.lang.IntegergetId()

public abstract java.lang.StringgetNumber()

public abstract bytegetType()

public voidsetEntityContext(javax.ejb.EntityContext ec)

public abstract voidsetId(java.lang.Integer id)

public abstract voidsetNumber(java.lang.String number)

public abstract voidsetType(byte type)

public voidunsetEntityContext()