FileDocCategorySizeDatePackage
EJBPersonBean.javaAPI DocExample2140Sun Jul 06 01:05:36 BST 2003antipatterns.ejbs

EJBPersonBean

public abstract class EJBPersonBean extends Object implements javax.ejb.EntityBean
Created Jan 1, 2003 10:15:26 PM Code generated by the Forte For Java EJB Builder
author
jon

Fields Summary
private javax.ejb.EntityContext
context
Constructors Summary
Methods Summary
public voidejbActivate()

see
javax.ejb.EntityBean#ejbActivate()

        
    
public EJBPersonKeyejbCreate(int personId, java.lang.String firstName, java.lang.String lastName, java.lang.String phoneNumber)

        setPersonId(personId);
        setFirstName(firstName);
        setLastName(lastName);
        setPhoneNumber(phoneNumber);
        return new EJBPersonKey(personId);
    
public voidejbLoad()

see
javax.ejb.EntityBean#ejbLoad()

        
    
public voidejbPassivate()

see
javax.ejb.EntityBean#ejbPassivate()

        
    
public voidejbPostCreate(int personId, java.lang.String firstName, java.lang.String lastName, java.lang.String phoneNumber)

public voidejbRemove()

see
javax.ejb.EntityBean#ejbRemove()

        
    
public voidejbStore()

see
javax.ejb.EntityBean#ejbStore()

        
    
public abstract java.lang.StringgetFirstName()

public abstract java.lang.StringgetLastName()

public abstract intgetPersonId()

public abstract java.lang.StringgetPhoneNumber()

public voidsetEntityContext(javax.ejb.EntityContext aContext)

see
javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)

        context=aContext;
    
public abstract voidsetFirstName(java.lang.String firstName)

public abstract voidsetLastName(java.lang.String lastName)

public abstract voidsetPersonId(int personId)

public abstract voidsetPhoneNumber(java.lang.String phoneNumber)

public voidunsetEntityContext()

see
javax.ejb.EntityBean#unsetEntityContext()

        context=null;