FileDocCategorySizeDatePackage
CustomerLocal.javaAPI DocExample1129Thu May 16 18:16:10 BST 2002com.titan.customer

CustomerLocal.java

package com.titan.customer;

import com.titan.address.AddressLocal;

import javax.ejb.CreateException;
import javax.naming.NamingException;
import java.util.Vector;
import java.util.Collection;

public interface CustomerLocal extends javax.ejb.EJBLocalObject
{   
   public Name getName ();
   public void setName (Name name);
   
   public boolean getHasGoodCredit ();
   public void setHasGoodCredit (boolean flag);
   
   public void addPhoneNumber (String number, byte type)
      throws NamingException, CreateException;
   public void removePhoneNumber (byte typeToRemove);
   public void updatePhoneNumber (String number, byte typeToUpdate);
   
   public Vector getPhoneList ();
   
   public AddressLocal getHomeAddress ();
   public void setHomeAddress (AddressLocal address);
   
   public CreditCardLocal getCreditCard ();
   public void setCreditCard (CreditCardLocal card);
   
   public Collection getPhoneNumbers ( );
   public void setPhoneNumbers (Collection phones);
   
   public Collection getReservations ();
   public void setReservations (Collection reservations);  
}