FileDocCategorySizeDatePackage
CustomerLocal.javaAPI DocExample1105Mon Mar 11 22:55:02 GMT 2002com.titan.customer

CustomerLocal.java

package com.titan.customer;

import com.titan.address.*;

import javax.ejb.CreateException;
import javax.naming.NamingException;
import java.util.Date;
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);

}