FileDocCategorySizeDatePackage
CustomerBean.javaAPI DocExample1615Sun Aug 05 16:07:54 BST 2001com.titan.customer

CustomerBean

public class CustomerBean extends Object implements javax.ejb.EntityBean

Fields Summary
public Integer
id
public String
lastName
public String
firstName
public String
middleName
private javax.ejb.EntityContext
context
Constructors Summary
Methods Summary
public voidejbActivate()

        // not implemented
    
public java.lang.IntegerejbCreate(int id, java.lang.String lastName, java.lang.String firstName, java.lang.String middleName)


             
        this.id = new Integer(id);
        this.lastName = lastName;
        this.firstName = firstName;
        this.middleName = middleName;
        return null;
    
public voidejbLoad()

        // not implemented
    
public voidejbPassivate()

        // not implemented
    
public voidejbPostCreate(int id, java.lang.String lastName, java.lang.String firstName, java.lang.String middleName)

        // do nothing. Required
    
public voidejbRemove()

        // not implemented
    
public voidejbStore()

        // not implemented
    
public java.lang.StringgetFirstName()

        return firstName;
    
public java.lang.StringgetLastName()

        return lastName;
    
public java.lang.StringgetMiddleName()

        return middleName;
    
public voidsetEntityContext(javax.ejb.EntityContext ctx)

	 context = ctx;
    
public voidsetFirstName(java.lang.String name)

        firstName = name;
    
public voidsetLastName(java.lang.String name)

        lastName = name;
    
public voidsetMiddleName(java.lang.String name)

        middleName = name;
    
public voidunsetEntityContext()

       context = null;