FileDocCategorySizeDatePackage
AddressBookEntryBean.javaAPI DocExample2390Sun Jul 06 01:05:36 BST 2003antipatterns.ejbs

AddressBookEntryBean

public abstract class AddressBookEntryBean extends Object implements javax.ejb.EntityBean
Created Feb 1, 2003 4:16:41 PM Code generated by the Sun ONE Studio EJB Builder
author
jon

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

see
javax.ejb.EntityBean#ejbActivate()

        
    
public AddressBookEntryKeyejbCreate(int entryId, java.lang.String owner, java.lang.String firstName, java.lang.String lastName, java.lang.String phoneNumber)

        setEntryId(entryId);
        setOwner(owner);
        setFirstName(firstName);
        setLastName(lastName);
        setPhoneNumber(phoneNumber);
        
        return new AddressBookEntryKey(entryId);
    
public voidejbLoad()

see
javax.ejb.EntityBean#ejbLoad()

        
    
public voidejbPassivate()

see
javax.ejb.EntityBean#ejbPassivate()

        
    
public voidejbPostCreate(int entryId, java.lang.String owner, 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 intgetEntryId()

public abstract java.lang.StringgetFirstName()

public abstract java.lang.StringgetLastName()

public abstract java.lang.StringgetOwner()

public abstract java.lang.StringgetPhoneNumber()

public voidsetEntityContext(javax.ejb.EntityContext aContext)

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

        context=aContext;
    
public abstract voidsetEntryId(int entryId)

public abstract voidsetFirstName(java.lang.String firstName)

public abstract voidsetLastName(java.lang.String lastName)

public abstract voidsetOwner(java.lang.String owner)

public abstract voidsetPhoneNumber(java.lang.String phoneNumber)

public voidunsetEntityContext()

see
javax.ejb.EntityBean#unsetEntityContext()

        context=null;